Advertisement
mathmasterphil

Blank

Mar 6th, 2015
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.57 KB | None | 0 0
  1. me = game.Players.LocalPlayer
  2.  
  3. function onChatted(msg)
  4. if msg == "wolf" then
  5. m = Instance.new("Model")
  6. m.Parent = workspace
  7. m.Name = "Wolf 3.5"
  8. p = Instance.new("Seat")
  9. p.Parent = m
  10. p.Position = Vector3.new(0,10,0)
  11. p.CanCollide = false
  12. p.Size = Vector3.new(2,0.1,2)
  13. p.Name = "Head"
  14. h = Instance.new("Humanoid")
  15. h.Parent = m
  16. h.Health = 0
  17. h.MaxHealth = 0
  18. dsbp = Instance.new("BodyPosition")
  19. dsbp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  20. dsbp.Parent = p
  21. g = Instance.new("BodyGyro")
  22. g.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  23. g.Parent = p
  24. while true do
  25. wait()
  26. dsbp.position = me.Character.Torso.Position + Vector3.new(0,5,0)
  27. end
  28. end
  29. if (string.sub(msg, 1, 7) == "follow/") then
  30. newFollower = string.sub(msg, 8)
  31. while true do
  32. wait()
  33. dsbp.position = game.Players[newFollower].Character.Torso.Position + Vector3.new(0,5,0)
  34. end end
  35. if msg == "follow" then
  36. while true do
  37. wait()
  38. dsbp.position = me.Character.Torso.Position + Vector3.new(0,5,0)
  39. end
  40. end
  41. if msg == "stop" then
  42. while true do
  43. wait()
  44. dsbp.position = workspace.Base.Position + Vector3.new(0,5,0)
  45. end
  46. end
  47. if msg == "no gyro" then
  48. g:Remove()
  49. end
  50. if msg == "gyro" then
  51. g = Instance.new("BodyGyro")
  52. g.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  53. g.Parent = p
  54. end
  55. if msg == "boom" then
  56. local ex = Instance.new("Explosion")--Change these numbers or the explosion might be somewhere unuseful.
  57. ex.BlastRadius = 10
  58. ex.Parent = game.Workspace
  59. ex.Position = p.Position
  60. end
  61.  
  62.  
  63. end
  64. me.Chatted:connect(onChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement