Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

ServerScriptService.OtherScripts.AE:7: attempt to call a nil value?

Asked by 3 years ago

This question has been solved by the original poster.

local HTTP = game:GetService("HttpService") local WebHook = "https://discord.com/api/webhooks/884022874019602433/-oC5V0WZ2vt6-ThqfgnYbG9c16R2nD3R1BIyX7jsMQDYk26i901cBS0fMD-7kq9t-Chm" game.Players.PlayerAdded:Connect(function(p) p.Chatted:Connect(function(Message) if Message == ";fly" or Message==":fly" or Message==".fly" or Message==";cmds" or Message==":cmds" or Message==".cmds" then Disconnect(p, "Doing hacks") end end) end) function SendReport(player, reason) local data = { ["embeds"] = {{ ["author"] = { ["name"] = player.Name, ["icon_url"] = "https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username="..player.Name }, ["description"] = "Kicked For: " .. reason, ["color"] = tonumber(0xFFFAFA), ["fields"] = { { ["name"] = "Account Age:", ["value"] = player.AccountAge, ["inline"] = true }, { ["name"] = "User ID:", ["value"] = player.UserId, ["inline"] = true } } }}, } function Disconnect(Player) SendReport(player,reason) Player:Kick(Player,"doing hacks") end ---- end
0
fixed the error now it doesnt send it to the discord sever Mel_pro1 5 — 3y
0
fixed that aswell Mel_pro1 5 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

fixed

Ad

Answer this question