Advertisement
noyonnm987741

Untitled

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