Ok heres a problem. When admin (ex: me) joined in place. This script adding new card when that admin in list "Admins" with userId. But i dunno why this script not working. Anyone help with this? (Its with trello system) Here a script.
--DONT REMOVE DEEZ!!!!--
local Trello = require(game.Workspace.TrelloAPI)
local BoardID = Trello:GetBoardID("My_game")
local AdminListID = Trello:GetListID("Admins",BoardID)
local BanListID = Trello:GetListID("Banlist",BoardID)
local UserID = game.Players.LocalPlayer.UserId
local step1 = Trello:GetCardID(UserID,BoardID)
local Target = Trello:GetCardInfo(step1,BoardID)
--DONT REMOVE DEEZ!!!!--
function CheckAdmin()
if Target.Name == UserID then
Trello:AddCard(UserID," ",BanListID)
else
print("Error when checking...")
end
end
script.Parent.MouseButton1Click:connect(CheckAdmin)

5 comments
Output and better formatting would be nice.
block with code not working sorry XC
still not working dat block code. I'M VERY SORRY ABOUT THAT!!! X'C
here go XC
It's not a LocalScript? Can't use LocalPlayer outside of a LocalScript dude.