Issue with Trello API

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)

Did you put your api key in the script, and allow the roblox api into your trello?

You should keep your GetCardsInList inside the PlayerAdded function, as of right now you’re only checking it when the server starts.

Also, here’s more information on how to use it:

If you can’t specify the error, I can’t really help you other than providing you with the link.

1 Like

Tried that, still not working and no output whatsoever.

No I am using another Trello API script.

1 Like

Does the PlayerAdded event run? See if it actually prints anything.

Ok I tried a few things, working for the most part, I am going to try some stuff, thanks for all your help.
image

2 Likes