function game.ReplicatedStorage.Trello.OnServerInvokeplayer ,param,... local thing = {...} if string.lower(param) == "list" then Banned = ap:GetCardsInList(ap:GetListID("Blacklist",BoardID)) return Banned elseif string.lower(param) == "add" then
local suspect = thing[1] local userid = player.UserId local reason = thing[2] local PlaceName = game.Name if getAllowed(player) then ap:AddCard("Call by: "..player.Character.Name.." || ID: "..userid,"Suspect: "..suspect.."\n\nReason: "..reason.."\n\nGame: http://www.roblox.com/games/"..placeid..PlaceName.."\n\n**Follow User:** http://www.roblox.com/users/"..userid.."/profile",ListID) end end
I'm trying to get a anti exploit group to send a call to trello, but it's not working here is the submit call button down bellow (Script) Hwo do you do it?
local player = script.Parent.Parent.Parent.Parent.Parent local userid = player.UserId local db = false --Baned Varible Banned = game.ReplicatedStorage.Trello:InvokeServer("list") -- Script script.Parent.MouseButton1Click:connect(function( ) if player.UserId == Banned then script.Parent.Parent.Parent.Parent.iServerBaned.Frame.Visible = true else if not db then db = true
local suspect = script.Parent.Parent.SuspectBox.Text
local reason = script.Parent.Parent.ReasonBox.Text
game.ReplicatedStorage.Trello:InvokeServer("add",suspect,reason)
script.Parent.Text = "Please wait"
script.Parent.Parent.Visible = false
script.Parent.Text = "Submit"
script.Parent.Parent.ReasonBox.Text = "Type here"
script.Parent.Parent.SuspectBox.Text = "Type here"
end
end
end)

1 comment
please properly put your code into code blocks so its easier to read