TeeRBLX

FE Fly

Apr 30th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. workspace.Gravity = 0
  2.  
  3. local mouse = game.Players.LocalPlayer:GetMouse()
  4. local bp
  5. mouse.KeyDown:connect(function(key)
  6. if key == 'g' then
  7. bp = Instance.new('BodyPosition', game.Players.LocalPlayer.Character.Torso)
  8. bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  9. bp.position = mouse.Hit.p
  10. game.Players.LocalPlayer.Character.Humanoid.Sit = true
  11. end
  12. end)
  13. mouse.KeyUp:connect(function(key)
  14. if key == 'g' and bp then
  15. bp:Destroy()
  16. end
  17. end)
Add Comment
Please, Sign In to add comment