Advertisement
killerboy634

ChatScript4Caden2HIP

Apr 12th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. --This is for you caden :D
  2. --the prefix is ; rightnow so to type a command with ; do ";killme" or ";ffme" or whatever
  3. Prefix = ";" --Change the prefix to wateva ya want :3
  4. game.Players.ChildAdded:connect(function(plr)
  5. plr.Chatted:connect(function(cht)
  6. if cht == Prefix.."YourCommandHere" then
  7. --Put the script that it executes when a player says that command!
  8. elseif cht == Prefix.."OtherCommandHere" then
  9. --Put the script that it executes when a player says that command!
  10. elseif cht == Prefix.."ffme" then
  11. Instance.new("ForceField", plr.Character) -- This would insert a forcefield on the person who said "ffme"
  12. elseif cht == Prefix.."killme" then
  13. plr.Character.Humanoid.Health = 0 -- This would kill the player who said "killme"
  14. end
  15. end)
  16. 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