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

Help with ban/kick basics?

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?

1 comment

0

I want to make my own just so I can better understand scripting. I can learn nothing from the pre-made admin scripts.

3 answers

✓ Accepted answer

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

3 comments

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?

0

This tells about how you can store values in one variable http://wiki.roblox.com/index.php?title=Tables

0

Thanks for all the help man!

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

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

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

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