Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- here it did not work --hello welcome to my admin tutorial
- --today we are going to make a n admin script
- --lets start off by createing an admin table
- Admin = (superdragon871) --insert your friends, your self, anyone that you would like to be admin.
- bet=":"--lets insect a bet here.
- banned = (cokedude123) --insert noobs here. >:)
- --now onece you have done that, we will now move onto next step
- --let's script now
- game.players.childadded:connect(function(Player
- for i,v in pairs(banned) do
- if v.Name==banned then
- v:kick() --this will 'the game will shutdown' them, well, let's just say it will remove them from the game.
- end;
- end;
- end);
- --alright . now, let's move on to the admin script!
- for a,x in pairs (admin) do
- if x.name==admins then
- function game.players.loaclplayer.chatted
- if msg==(bet.."ff me") then
- instance.new ('forcefield', game/players.localplayer.character) --inserct a forcefield onto their character.
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement