Advertisement
drstattik

RodConstraint

Jul 29th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. plr = game.Players.drstattik2
  2.  
  3. A = Instance.new("Part", workspace)
  4. B = plr.Character.Torso
  5. A.Shape = "Ball"
  6. A.TopSurface = "Smooth"
  7. A.BottomSurface = "Smooth"
  8. A.Size = Vector3.new(2,2,2)
  9. A.Color = Color3.new(0,0,0)
  10. smoke = Instance.new("Fire",A)
  11. float = Instance.new("BodyForce",A)
  12. float.Force = Vector3.new(0,1000,0)
  13.  
  14. at1 = Instance.new("Attachment",A)
  15. at2 = Instance.new("Attachment",B)
  16.  
  17. rope = Instance.new("RodConstraint",workspace)
  18.  
  19. rope.Attachment0 = at1
  20. rope.Attachment1 = at2
  21. rope.Length = 10
  22.  
  23. plr.Character.Humanoid.WalkSpeed = 300
  24.  
  25.  
  26. function onTouched(hit)
  27. if hit.Parent.Name == "xXdrstattik33Xx" then
  28. else
  29. hit.Parent.Humanoid.Health = 0
  30. end
  31. end
  32. A.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement