Advertisement
404Coder

Untitled

Oct 25th, 2022
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.73 KB | None | 0 0
  1. --credits to qwiuick for making this
  2.  
  3. --]]
  4. local Tune = {}
  5. local Speed = true
  6. local moveForwards = Enum.KeyCode  'W'     --if player has moved on W then Player will move Forwards--]]
  7. local moveBackwards = Enum.KeyCode  'S'    --if player has moved on S then Player will move Backwards--]]
  8. local moveSideLeft = Enum.KeyCode  'A'     --if player has moved on A then Player will move Right--]]
  9. local moveSideRight = Enum.KeyCode  'D'    --if player has moved on D then Player will move Left--]]
  10. --]]
  11. --//brakes and movement activation now
  12. --]]]
  13.  
  14. moveForwards = true;
  15. movespeed = script.Parent.Parent.Parent.Parent();
  16. moveBackwards = true;
  17. moveSideLeft = true;
  18. moveSideRight = true;
  19. --]]done that now next is the actaul chassis tune for brakes and others--]]
  20. --//
  21.  
  22. if Tune == Enum.KeyCode then
  23.     local tune = script.Parent.Parent.Tune.Activated
  24. end
  25. --]]now thats activated we will get started on the brakes and power and horsepower and yeh lets go--]]
  26. --//
  27.  
  28. local brakes = Enum.KeyCode   'Spacebar'
  29. local Brakes = script.Parent.Chassis.Tune(1, brakes)
  30. local brakes = script.Parent.Parent.Brakes.Activated
  31. --]]activated but stil one more code until fully activated--]]
  32. --//
  33.  
  34. if Brakes == Enum.KeyCode then
  35.     local brakes = script.Parent.Parent.Parent.Parent.Brakes.Activated
  36. end
  37. --]]BrakesActivated now we need a script for our Horsepower--]]
  38. --//
  39. --]]]
  40.  
  41. local Horsepower = {}
  42. Horsepower = true;
  43. Horsepower.Amount = 25;
  44. local Tune = script.Parent.Parent.Parent.Parent.Horsepower.Activated
  45. if Horsepower == true then
  46.     local Horsepower = script.Parent.Parent.Parent.Parent.Horsepower.Activated
  47. end
  48. --]]and done enjoy the script and have a goodday cya
  49. --// my profile      https://web.roblox.com/users/3811412998/profile
  50.  
  51.  
  52. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement