Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This is for you caden :D
- --the prefix is ; rightnow so to type a command with ; do ";killme" or ";ffme" or whatever
- Prefix = ";" --Change the prefix to wateva ya want :3
- game.Players.ChildAdded:connect(function(plr)
- plr.Chatted:connect(function(cht)
- if cht == Prefix.."YourCommandHere" then
- --Put the script that it executes when a player says that command!
- elseif cht == Prefix.."OtherCommandHere" then
- --Put the script that it executes when a player says that command!
- elseif cht == Prefix.."ffme" then
- Instance.new("ForceField", plr.Character) -- This would insert a forcefield on the person who said "ffme"
- elseif cht == Prefix.."killme" then
- plr.Character.Humanoid.Health = 0 -- This would kill the player who said "killme"
- end
- end)
- end) --ends the whole thing -- Put this script in a normal script, Not a localscript
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement