Webhook discord 漏洞 roblox

Webhook discord bug roblox

我有以下脚本错误: 尝试调用一个布尔值 尝试调用一个数值

这是脚本:

--Game Info
local SystemName = "TestSystemname"
local WhitelistedServ = false
local OwnerId = game.CreatorId
local GameId = game.GameId
local MaxPlayers = game.Players.MaxPlayers
local GameUrl = "https://www.roblox.com/games/"..GameId

--Webhook sender and message creator in JS
local WebhookUrlServ = ""
local MessageDataServ = {["content"] = "New game started with the whitelist system !"..SystemName
    "The Owner Id= "..OwnerId
    "Is Game whitelisted ? "..WhitelistedServ
    "How Many Players Max? "..MaxPlayers
    "The Game Url= "..GameUrl}
MessageDataServ = HttpServ:JSONEncode(MessageDataServ)

谢谢,

我发现了问题,我尝试发送一个值,我只需要替换这个

local WhitelistedServ = false
by this
local WhitelistedServ = "false"

它会起作用,由于某些原因,值不能在此脚本中,使用嵌入制作更好。