Advertisement
dima99816

Untitled

Jan 19th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. plr = game:GetService('Players').LocalPlayer
  2. torso = plr.Character.UpperTorso
  3. hum = plr.Character.Humanoid
  4. mouse = plr:GetMouse()
  5. stopu = false
  6. keying = mouse.KeyDown:Connect(function(key)
  7.  
  8. if key == 'x' then
  9. stopu = true
  10. end
  11. end)
  12. while stopu == false do -- stop when press x
  13. local bp = Instance.new('BodyPosition')
  14. bp.MaxForce = Vector3.new(999999,999999,999999)
  15. bp.Position = torso.Position
  16. bp.Parent = torso
  17. local bav = Instance.new('BodyAngularVelocity')
  18. bav.MaxTorque = Vector3.new(999999,999999,999999)
  19. bav.AngularVelocity = Vector3.new(200,200,200)
  20. bav.Parent = torso
  21. wait()
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement