Advertisement
TeoMessiKing

jailbreak fly

Feb 27th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. uis = game:GetService("UserInputService")
  2. player = game.Players.LocalPlayer
  3. character = player.Character
  4.  
  5.  
  6. uis.InputBegan:Connect(function(key)
  7. if key.KeyCode == Enum.KeyCode.W then
  8. if player.Character.HumanoidRootPart:FindFirstChild("BodyVelocity") then
  9. local bv = player.Character.HumanoidRootPart.BodyVelocity
  10. bv.Parent = player.Character.HumanoidRootPart
  11. player.Character.HumanoidRootPart.Anchored = false
  12. repeat
  13.  
  14. bv.P = Vector3.new(1000,1000,1000)
  15. bv.Velocity = game.Workspace.Camera.CFrame.LookVector*100
  16. wait()
  17. until player.Character.HumanoidRootPart.Anchored == true
  18. else
  19. local bv = Instance.new("BodyVelocity")
  20. bv.Parent = player.Character.HumanoidRootPart
  21. player.Character.HumanoidRootPart.Anchored = false
  22. repeat
  23.  
  24. bv.P = Vector3.new(1000,1000,1000)
  25. bv.Velocity = game.Workspace.Camera.CFrame.LookVector*100
  26. wait()
  27. until player.Character.HumanoidRootPart.Anchored == true
  28.  
  29.  
  30.  
  31. end
  32. end
  33. end)
  34.  
  35.  
  36. uis.InputEnded:Connect(function(key)
  37. if key.KeyCode == Enum.KeyCode.W then
  38. local bv = game.Players.LocalPlayer.Character.HumanoidRootPart
  39. if bv:FindFirstChild("BodyVelocity") then
  40. player.Character.HumanoidRootPart.Anchored = true
  41. else
  42.  
  43. print("No")
  44.  
  45. end
  46. end
  47. end)
  48.  
  49.  
  50.  
  51. uis.InputBegan:Connect(function(key)
  52. if key.KeyCode == Enum.KeyCode.X then
  53. local bv = game.Players.LocalPlayer.Character.HumanoidRootPart.BodyVelocity
  54. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyVelocity") then
  55. game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  56. bv:Destroy()
  57.  
  58. end
  59. else print("No")
  60. end
  61. end)
  62.  
  63.  
  64.  
  65. uis.InputBegan:Connect(function(key)
  66. if key.KeyCode == Enum.KeyCode.S then
  67. if player.Character.HumanoidRootPart:FindFirstChild("BodyVelocity") then
  68. local bv = player.Character.HumanoidRootPart.BodyVelocity
  69. bv.Parent = player.Character.HumanoidRootPart
  70. player.Character.HumanoidRootPart.Anchored = false
  71. repeat
  72.  
  73. bv.P = Vector3.new(1000,1000,1000)
  74. bv.Velocity = player.Character.HumanoidRootPart.CFrame.LookVector*100
  75. wait()
  76. until player.Character.HumanoidRootPart.Anchored == true
  77. end
  78. else print("Hi")
  79. end
  80. end)
  81.  
  82.  
  83. uis.InputEnded:Connect(function(key)
  84. if key.KeyCode == Enum.KeyCode.S then
  85. local bv = game.Players.LocalPlayer.Character.HumanoidRootPart
  86. if bv:FindFirstChild("BodyVelocity") then
  87. player.Character.HumanoidRootPart.Anchored = true
  88. else
  89.  
  90. print("No")
  91.  
  92. end
  93. end
  94. end)
  95.  
  96.  
  97.  
  98.  
  99. uis.InputBegan:Connect(function(key)
  100. if key.KeyCode == Enum.KeyCode.D then
  101. if player.Character.HumanoidRootPart:FindFirstChild("BodyVelocity") then
  102. local bv = player.Character.HumanoidRootPart.BodyVelocity
  103. bv.Parent = player.Character.HumanoidRootPart
  104. player.Character.HumanoidRootPart.Anchored = false
  105. repeat
  106.  
  107. bv.P = Vector3.new(1000,1000,1000)
  108. bv.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector*100
  109. wait()
  110. until player.Character.HumanoidRootPart.Anchored == true
  111. end
  112. else print("Hi")
  113. end
  114.  
  115. end)
  116.  
  117.  
  118.  
  119.  
  120. uis.InputEnded:Connect(function(key)
  121. if key.KeyCode == Enum.KeyCode.D then
  122. local bv = game.Players.LocalPlayer.Character.HumanoidRootPart
  123. if bv:FindFirstChild("BodyVelocity") then
  124. player.Character.HumanoidRootPart.Anchored = true
  125. else
  126.  
  127. print("No")
  128.  
  129. end
  130. end
  131. end)
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138. uis.InputBegan:Connect(function(key)
  139. if key.KeyCode == Enum.KeyCode.A then
  140. if player.Character.HumanoidRootPart:FindFirstChild("BodyVelocity") then
  141. local bv = player.Character.HumanoidRootPart.BodyVelocity
  142. bv.Parent = player.Character.HumanoidRootPart
  143. player.Character.HumanoidRootPart.Anchored = false
  144. repeat
  145.  
  146. bv.P = Vector3.new(1000,1000,1000)
  147. bv.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector*100
  148. wait()
  149. until player.Character.HumanoidRootPart.Anchored == true
  150. end
  151. else print("Hi")
  152. end
  153.  
  154. end)
  155.  
  156.  
  157.  
  158.  
  159. uis.InputEnded:Connect(function(key)
  160. if key.KeyCode == Enum.KeyCode.A then
  161. local bv = game.Players.LocalPlayer.Character.HumanoidRootPart
  162. if bv:FindFirstChild("BodyVelocity") then
  163. player.Character.HumanoidRootPart.Anchored = true
  164. else
  165.  
  166. print("No")
  167.  
  168. end
  169. end
  170. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement