Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help with ban/kick basics?

Asked by 10 years ago

I know there are tons of admins scripts out there that can ban/kick. But I don't want to use those. I want to make my own. I was just stuck on how it all works. Basically you just delete the player you ban/kick right? If thats true I already have one thing down. Next is there any way to make a list in Roblox? Or a way to mass store names?

0
I want to make my own just so I can better understand scripting. I can learn nothing from the pre-made admin scripts. LuckTron 15 — 10y

3 answers

Log in to vote
1
Answered by 10 years ago

if you want to kick a player then do this player:Kick()

0
That's a useful short cut. Nice to know that, thanks by the way. But do you know anything about storing tons of usernames? For the banning? LuckTron 15 — 10y
0
This tells about how you can store values in one variable http://wiki.roblox.com/index.php?title=Tables RobloxMinecraftDK 0 — 10y
0
Thanks for all the help man! LuckTron 15 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

Try kicking a certain username everytime he/she is added. So do a PlayerAdded event. So every time a Player is added it checks.

Log in to vote
0
Answered by
ANE_bot 17
4 years ago
Edited 4 years ago

Use player:kick. But use this with a list like:

list = {"Name","emantella1313","######NOOB"}

Answer this question