FiftySix

Vehicle Simulator Hack

Oct 29th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. --Re-Released by NeonEagle80 (No credit for editing/creating this script| Just reposted)
  2. --Vehicle Simulator AFK money / miles
  3. --edited by poey582, take no credit for making this script, just added a few lines
  4. --How to use
  5. --Load into the game then execute the script
  6. --Get in your car then type "/e racingmode" into chat
  7. --Then go as fast as you can,then once you're at a good speed
  8. --have this phrase copied "/e stop" and paste it into chat
  9. --scuffed but works enjoy
  10.  
  11. local plr = game.Players.LocalPlayer
  12. local inftoggle = false
  13. function getvehicle()
  14. for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
  15. if v:IsA("Model") then
  16. if v.owner.Value == plr.Name then
  17. return v
  18. end
  19. end
  20. end
  21. return nil
  22. end
  23. function hint(txt, t)
  24. if t then
  25. local h = Instance.new("Hint",plr.PlayerGui)
  26. h.Text = txt
  27. wait(t)
  28. h:remove()
  29. else
  30. local h = Instance.new("Hint",plr.PlayerGui)
  31. h.Text = txt
  32. wait(2)
  33. h:remove()
  34. end
  35. end
  36.  
  37. plr.Chatted:connect(function(msg)
  38. if msg:lower():sub(1,10) == "/e toggle:" then
  39. local ins = msg:lower():sub(11)
  40. local vehicle = getvehicle()
  41. if vehicle then
  42. if ins == "infnitro" then
  43. if inftoggle == true then
  44. inftoggle = false
  45. hint("(-)Disabled Infinite Nitro!(-)")
  46. else
  47. inftoggle = true
  48. hint("(+)Enabled Infinite Nitro!(+)")
  49. end
  50. end
  51. else
  52. hint("(-)You do not have a vehicle spawned!(-)")
  53. end
  54. elseif msg:lower():sub(1,14) == "/e nitrospeed:" then
  55. local num = msg:sub(15)
  56. local vehicle = getvehicle()
  57. if vehicle then
  58. vehicle.Handling.Nitro.NitroSpeed.Value = tonumber(num)
  59. else
  60. hint("(-)You do not have a vehicle spawned!(-)")
  61. end
  62. elseif msg:lower():sub(1,14) == "/e stop" then
  63. local num = msg:sub(1,15)
  64. local vehicle = getvehicle()
  65. if vehicle then
  66. vehicle.Chassis.VehicleSeat.Anchored = true
  67. else
  68. hint("(-)You do not have a vehicle spawned!(-)")
  69. end
  70. elseif msg:lower():sub(1,14) == "/e nitroforce:" then
  71. local num = msg:sub(1,15)
  72. local vehicle = getvehicle()
  73. if vehicle then
  74. vehicle.Handling.Nitro.NitroForce.Value = tonumber(num)
  75. else
  76. hint("(-)You do not have a vehicle spawned!(-)")
  77. end
  78. elseif msg:lower():sub(1,12) == "/e maxspeed:" then
  79. local num = msg:sub(13)
  80. local vehicle = getvehicle()
  81. if vehicle then
  82. vehicle.Handling.MaxSpeed.Value = tonumber(num)
  83. else
  84. hint("(-)You do not have a vehicle spawned!(-)")
  85. end
  86. elseif msg:lower():sub(1,10) == "/e torque:" then
  87. local num = msg:sub(11)
  88. local vehicle = getvehicle()
  89. if vehicle then
  90. vehicle.Handling.Torque.Value = tonumber(num)
  91. else
  92. hint("(-)You do not have a vehicle spawned!(-)")
  93. end
  94. elseif msg:lower():sub(1,12) == "/e friction:" then
  95. local num = msg:sub(13)
  96. local vehicle = getvehicle()
  97. if vehicle then
  98. vehicle.Handling.FrictionOffroad.Value = tonumber(num)
  99. vehicle.Handling.FrictionRoad.Value = tonumber(num)
  100. else
  101. hint("(-)You do not have a vehicle spawned!(-)")
  102. end
  103. elseif msg:lower():sub(1,13) == "/e racingmode" then
  104. local vehicle = getvehicle()
  105. if vehicle then
  106. han = vehicle.Handling
  107. han.MaxSpeed.Value = 10000
  108. han.Torque.Value = 30000
  109. han.SteeringRadiusConstant.Value = 12000
  110. han.FrictionOffroad.Value = 200
  111. han.FrictionRoad.Value = 200
  112. han.Nitro.NitroSpeed.Value = 300
  113. han.Nitro.NitroForce.Value = 8000
  114. han.TurboJump.TurboJumpHeight.Value = 300
  115. inftoggle = true
  116. else
  117. hint("(-)You do not have a vehicle spawned!(-)")
  118. end
  119. end
  120. end)
  121. wait(0.5)
  122. while inftoggle == true do
  123. wait(0.02)
  124. local vehicle = getvehicle()
  125. if vehicle then
  126. vehicle.Handling.Nitro.NitroAmount.Value = 250
  127. end
  128. end
Add Comment
Please, Sign In to add comment