Advertisement
worm246411

Pet

Jan 12th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Owner = game.Players.worm2464
  2. local M = Instance.new("Model")
  3. M.Name = "Pet"
  4. M.Parent = game.Workspace
  5. local P = Instance.new("Part")
  6. P.Parent = M
  7. P.Name = "Head"
  8. P.Reflectance = 0.4
  9. P.Shape = "Ball"
  10. P.Size = Vector3.new(4, 4, 4)
  11. P.TopSurface = "Smooth"
  12. P.BottomSurface = "Smooth"
  13. P.BrickColor = BrickColor.Random()
  14. local H = Instance.new("Humanoid")
  15. H.Parent = M
  16. H.Health = 0
  17. H.MaxHealth = 0
  18. local BP = Instance.new("BodyPosition")
  19. BP.maxForce = Vector3.new(4e+003, 0, 4e+003)
  20. BP.Parent = P
  21. local Own = Instance.new("ObjectValue")
  22. Own.Parent = BP
  23. Own.Name = "Owner"
  24. Own.Value = Owner
  25.  
  26. while true do
  27. wait(0.2)
  28. game.Workspace.Pet.Head.BodyPosition.position.Value = game.Workspace.troy242621.Torso.position
  29. end
  30.  
  31.  
  32.  
  33.  
  34. S.Parent = BP
  35. Clone(S).Parent = BP
  36. Remove(S)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement