Advertisement
Beasrt

Untitled

Mar 12th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. here it did not work --hello welcome to my admin tutorial
  2. --today we are going to make a n admin script
  3. --lets start off by createing an admin table
  4. Admin = (superdragon871) --insert your friends, your self, anyone that you would like to be admin.
  5. bet=":"--lets insect a bet here.
  6. banned = (cokedude123) --insert noobs here. >:)
  7. --now onece you have done that, we will now move onto next step
  8. --let's script now
  9. game.players.childadded:connect(function(Player
  10. for i,v in pairs(banned) do
  11. if v.Name==banned then
  12. v:kick() --this will 'the game will shutdown' them, well, let's just say it will remove them from the game.
  13. end;
  14. end;
  15. end);
  16. --alright . now, let's move on to the admin script!
  17. for a,x in pairs (admin) do
  18. if x.name==admins then
  19. function game.players.loaclplayer.chatted
  20. if msg==(bet.."ff me") then
  21. instance.new ('forcefield', game/players.localplayer.character) --inserct a forcefield onto their character.
  22. end
  23.  
  24. end
  25. end
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement