I was trying to make a list on Trello when someone joins the game. So, a list for each player. The name of the list is the player's username. My code doesn't work though. Here is my code.
local trelloapi = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local boardid = trelloapi:GetBoardID("management records")
game.Players.PlayerAdded:Connect(function(plr)
print("woo hooo player found")
trelloapi:AddList("".. plr.Name.. "'s records", boardid)
print("omg board created")
end)
Edit: updated code
local trelloapi = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local boardid = trelloapi:GetBoardID("management records")
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(plr)
print("woo hooo player found")
trelloapi:AddList("".. plr.Name.."", boardid)
print("omg list created")
end)
(end of edit) Notice: The first print command didn't show up in the output, so I'm pretty sure it's something above that. nothing showed up in the output. My API does work, I tested it. Suggestions would be nice, thank you!

6 comments
try game:GetService("Players")
Thank you! I'll try it!
It still doesn't work.. :(
add a print in line 4 and see if it runs? Since if it does, the first print in the PlayerAdded event should run regardless of if the rest of the function does or not. If the print on line 4 doesn't work, there is something wrong with the variables or the way its named.
i think its your trelloapi module problem or the script(Instance) problem
i used a different api and it works fine, but i did test the api used when i made this post, and it worked