Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Trello API Question?

Is it possible with the Trello API model to get it where if a player joined who's name is on the whitelist, their name is not added to a board, but if their name isn't, then their name is added to the board.

Trello API

http://www.roblox.com/Trello-API-item?id=214265621

Whitelist

local whitelist = {
["drumguy1"] = true, 
["SterlingODeahagh1"] = true, 
["AustinMiller2225"] = true, 
["AlysonLariviereMD"] = true, 
["IttybittyNinjaKitty"] = true, 
["AndrewLBraddock"] = true, 
["ClarenceFMD"] = true, 
["MusicMD"] = true, 
["TheHospitalDev"] = true, 
["SamuelHollMD"] = true,
["DumbGuy1738"] = true,
["8baan"] = true
}
local superwhitelist = {
["drumguy1"] = true, 
["SterlingODeahagh1"] = true, 
["TheHospitalDev"] = true, 
["SamuelHollMD"] = true, 
["8baan"] = true
}
local id = 2567972
game.Players.PlayerAdded:connect(function(p)
    if whitelist[p.Name] and p:IsInGroup(id) and p:GetRankInGroup(id) >=1 then
 		print("You are safe, " .. p.Name)
	else
	    if superwhitelist[p.Name] and whitelist[p.Name] then
		print("You are safe, " .. p.Name)
		else
			p:Kick("Bai, don't rejoin cuz you're still not going to get in!!")
	    end
	end
end)

3 comments

0

LOL "superwhitelist"

0

Problem?

0

@Narrev, You sullen?

1 answer

✓ Accepted answer

What you're asking is possible, but I simply won't provide the code. The TrelloAPI module is a good source, but I don't work with it, so I don't know how it works. I Recommend to learn the API yourself.

2 comments

0

Thanks. I was just wondering if it was possible!

0

This should've been a comment.

This discussion is preserved as it was. New answers, comments, and votes are closed.