Trying to create a script where if a player is on a Trello API it gives the player a tool.
Not working, not getting any output, errors, etc.
local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local BoardID = TrelloAPI:GetBoardID("Records")
local ListID = TrelloAPI:GetListID("GunLicense",BoardID)
local Cards = TrelloAPI:GetCardsInList(ListID)
game.Players.PlayerAdded:Connect(function(player)
for v,i in pairs(Cards) do
if i.name == player.name then
print("player has license")
else
warn('player doesnt have license')
end
end
end)