Basically, I'm making a Trello ban list using the API.
for i,v in pairs(ap:GetCardsInList(BlackLIST)) do
if v.name:match('(.*):(.*)') then
local Name,ID=v.name:match('(.*):(.*)')
print("Ban List: "..Name,ID)
if ID == Plr.userId then
warn("Blacklisted User: "..Plr.Name.." | TERMINATED")
game.ReplicatedStorage.TrelloDataRequest:FireClient(Plr,"BlackLIST")
BansList = true
end
end
end
Everything works, except "if ID == Plr.userId then"
The ID is the exact same as the Plr.userId - but for some reason it won't work.
Help?

2 comments
userId is deprecated use UserId
Still doesn't work..