Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1.  
  2. m = game.Players.LocalPlayer:GetMouse()
  3.  
  4. m.KeyDown:connect(function(key)
  5. if key == "w" then
  6. print("Running")
  7. script.Parent.Parent.Main.Gyro.MaxTorque = script.Parent.Parent.Main.Gyro.MaxTorque + Vector3.new(math.huge, math.huge, math.huge)
  8. end
  9. end)
  10.  
  11. m.KeyUp:connect(function(key)
  12. if key == "w" then
  13. script.Parent.Parent.Main.Gyro.MaxTorque = script.Parent.Parent.Main.Gyro.MaxTorque + Vector3.new(math.huge, math.huge, math.huge) -- this point, i dont want it to do anything
  14. end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement