Bugxie_

[NEW]šŸ”„Vehicle Simulator HACK/SCRIPTšŸ¤‘Unlimited Cash, Auto f

Aug 10th, 2019
7,840
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.95 KB | None | 0 0
  1. --If you feature this in a video just give credit
  2. local VehicleSimultor = Instance.new("ScreenGui")
  3. local VSV1 = Instance.new("Frame")
  4. local Title = Instance.new("TextLabel")
  5. local Title_2 = Instance.new("TextLabel")
  6. local Speed = Instance.new("TextButton")
  7. local SpeedBind = Instance.new("TextBox")
  8. local Close = Instance.new("TextButton")
  9. local NitroSpeed = Instance.new("TextButton")
  10. local NST = Instance.new("TextBox")
  11. local NitroForce = Instance.new("TextButton")
  12. local NFT = Instance.new("TextBox")
  13. local JumpHeight = Instance.new("TextButton")
  14. local JHT = Instance.new("TextBox")
  15. local ScrollingFrame = Instance.new("ScrollingFrame")
  16. local TptoCrate = Instance.new("TextButton")
  17. local TeleportLT = Instance.new("TextButton")
  18. local TeleportToCar = Instance.new("TextButton")
  19. local CrateESP = Instance.new("TextButton")
  20. local GiveAllPerks = Instance.new("TextButton")
  21. local SuperCar = Instance.new("TextButton")
  22. local InfiniteNitro = Instance.new("TextButton")
  23. local AutoFarm = Instance.new("TextButton")
  24. local Torque = Instance.new("TextButton")
  25. local Torquet = Instance.new("TextBox")
  26. local SteeringForce = Instance.new("TextButton")
  27. local SFT = Instance.new("TextBox")
  28. local Open = Instance.new("TextButton")
  29. --Properties:
  30. VehicleSimultor.Name = "VehicleSimultor"
  31. VehicleSimultor.Parent = game.CoreGui
  32.  
  33. VSV1.Name = "VSV1"
  34. VSV1.Parent = VehicleSimultor
  35. VSV1.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  36. VSV1.BorderSizePixel = 0
  37. VSV1.Position = UDim2.new(0.341240883, 0, 0.10428305, 0)
  38. VSV1.Size = UDim2.new(0, 369, 0, 407)
  39. VSV1.Active = true
  40. VSV1.Draggable = true
  41.  
  42. Title.Name = "Title"
  43. Title.Parent = VSV1
  44. Title.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  45. Title.BorderSizePixel = 0
  46. Title.Position = UDim2.new(-3.83744082e-05, 0, -0.0101027992, 0)
  47. Title.Size = UDim2.new(0, 369, 0, 36)
  48. Title.Font = Enum.Font.SourceSansLight
  49. Title.Text = "Vehicle Simultor Gui"
  50. Title.TextColor3 = Color3.new(1, 1, 1)
  51. Title.TextSize = 25
  52.  
  53. Title_2.Name = "Title"
  54. Title_2.Parent = VSV1
  55. Title_2.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
  56. Title_2.BorderSizePixel = 0
  57. Title_2.Position = UDim2.new(-3.83744082e-05, 0, 0.0778456926, 0)
  58. Title_2.Size = UDim2.new(0, 369, 0, 10)
  59. Title_2.Font = Enum.Font.SourceSansLight
  60. Title_2.Text = ""
  61. Title_2.TextColor3 = Color3.new(1, 1, 1)
  62. Title_2.TextSize = 25
  63.  
  64. Speed.Name = "Speed"
  65. Speed.Parent = VSV1
  66. Speed.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  67. Speed.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  68. Speed.BorderSizePixel = 3
  69. Speed.Position = UDim2.new(0.0415850431, 0, 0.11448466, 0)
  70. Speed.Size = UDim2.new(0, 166, 0, 25)
  71. Speed.Font = Enum.Font.SourceSans
  72. Speed.Text = "Max Speed"
  73. Speed.TextColor3 = Color3.new(1, 1, 1)
  74. Speed.TextSize = 25
  75.  
  76. SpeedBind.Name = "SpeedBind"
  77. SpeedBind.Parent = Speed
  78. SpeedBind.BackgroundColor3 = Color3.new(1, 1, 1)
  79. SpeedBind.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  80. SpeedBind.BorderSizePixel = 3
  81. SpeedBind.Position = UDim2.new(1.0793581, 0, -0.00314961374, 0)
  82. SpeedBind.Size = UDim2.new(0, 155, 0, 25)
  83. SpeedBind.Font = Enum.Font.SourceSans
  84. SpeedBind.PlaceholderText = "Amount"
  85. SpeedBind.Text = ""
  86. SpeedBind.TextColor3 = Color3.new(0, 0, 0)
  87. SpeedBind.TextSize = 25
  88.  
  89. Close.Name = "Close"
  90. Close.Parent = VSV1
  91. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Close.BackgroundTransparency = 1
  93. Close.BorderSizePixel = 0
  94. Close.Position = UDim2.new(0.91011405, 0, 0, 0)
  95. Close.Size = UDim2.new(0, 33, 0, 30)
  96. Close.Font = Enum.Font.SourceSansLight
  97. Close.Text = "X"
  98. Close.TextColor3 = Color3.new(1, 1, 1)
  99. Close.TextSize = 30
  100. Close.TextWrapped = true
  101.  
  102. NitroSpeed.Name = "NitroSpeed"
  103. NitroSpeed.Parent = VSV1
  104. NitroSpeed.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  105. NitroSpeed.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  106. NitroSpeed.BorderSizePixel = 3
  107. NitroSpeed.Position = UDim2.new(0.0415850431, 0, 0.280174315, 0)
  108. NitroSpeed.Size = UDim2.new(0, 166, 0, 25)
  109. NitroSpeed.Font = Enum.Font.SourceSans
  110. NitroSpeed.Text = "Nitro Max Speed"
  111. NitroSpeed.TextColor3 = Color3.new(1, 1, 1)
  112. NitroSpeed.TextSize = 25
  113.  
  114. NST.Name = "NST"
  115. NST.Parent = NitroSpeed
  116. NST.BackgroundColor3 = Color3.new(1, 1, 1)
  117. NST.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  118. NST.BorderSizePixel = 3
  119. NST.Position = UDim2.new(1.0793581, 0, -0.00629922748, 0)
  120. NST.Size = UDim2.new(0, 155, 0, 25)
  121. NST.Font = Enum.Font.SourceSans
  122. NST.PlaceholderText = "Amount"
  123. NST.Text = ""
  124. NST.TextColor3 = Color3.new(0, 0, 0)
  125. NST.TextSize = 25
  126.  
  127. NitroForce.Name = "NitroForce"
  128. NitroForce.Parent = VSV1
  129. NitroForce.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  130. NitroForce.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  131. NitroForce.BorderSizePixel = 3
  132. NitroForce.Position = UDim2.new(0.0415850468, 0, 0.362042129, 0)
  133. NitroForce.Size = UDim2.new(0, 166, 0, 25)
  134. NitroForce.Font = Enum.Font.SourceSans
  135. NitroForce.Text = "Nitro Force"
  136. NitroForce.TextColor3 = Color3.new(1, 1, 1)
  137. NitroForce.TextSize = 25
  138.  
  139. NFT.Name = "NFT"
  140. NFT.Parent = NitroForce
  141. NFT.BackgroundColor3 = Color3.new(1, 1, 1)
  142. NFT.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  143. NFT.BorderSizePixel = 3
  144. NFT.Position = UDim2.new(1.07935798, 0, 0, 0)
  145. NFT.Size = UDim2.new(0, 155, 0, 25)
  146. NFT.Font = Enum.Font.SourceSans
  147. NFT.PlaceholderText = "Amount"
  148. NFT.Text = ""
  149. NFT.TextColor3 = Color3.new(0, 0, 0)
  150. NFT.TextSize = 25
  151.  
  152. JumpHeight.Name = "JumpHeight"
  153. JumpHeight.Parent = VSV1
  154. JumpHeight.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  155. JumpHeight.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  156. JumpHeight.BorderSizePixel = 3
  157. JumpHeight.Position = UDim2.new(0.0419999994, 0, 0.443515956, 0)
  158. JumpHeight.Size = UDim2.new(0, 166, 0, 25)
  159. JumpHeight.Font = Enum.Font.SourceSans
  160. JumpHeight.Text = "Jump Height"
  161. JumpHeight.TextColor3 = Color3.new(1, 1, 1)
  162. JumpHeight.TextSize = 25
  163.  
  164. JHT.Name = "JHT"
  165. JHT.Parent = JumpHeight
  166. JHT.BackgroundColor3 = Color3.new(1, 1, 1)
  167. JHT.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  168. JHT.BorderSizePixel = 3
  169. JHT.Position = UDim2.new(1.0793581, 0, -0.00629922748, 0)
  170. JHT.Size = UDim2.new(0, 155, 0, 25)
  171. JHT.Font = Enum.Font.SourceSans
  172. JHT.PlaceholderText = "Amount"
  173. JHT.Text = ""
  174. JHT.TextColor3 = Color3.new(0, 0, 0)
  175. JHT.TextSize = 25
  176.  
  177. ScrollingFrame.Parent = VSV1
  178. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  179. ScrollingFrame.BackgroundTransparency = 1
  180. ScrollingFrame.Position = UDim2.new(0, 0, 0.601494849, 0)
  181. ScrollingFrame.Size = UDim2.new(0, 369, 0, 156)
  182. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0.469999999, 0)
  183.  
  184. TptoCrate.Name = "TptoCrate"
  185. TptoCrate.Parent = ScrollingFrame
  186. TptoCrate.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  187. TptoCrate.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  188. TptoCrate.BorderSizePixel = 3
  189. TptoCrate.Position = UDim2.new(0.490514904, 0, 0.270000011, 0)
  190. TptoCrate.Size = UDim2.new(0, 167, 0, 41)
  191. TptoCrate.Font = Enum.Font.SourceSans
  192. TptoCrate.Text = "TP to Crates"
  193. TptoCrate.TextColor3 = Color3.new(1, 1, 1)
  194. TptoCrate.TextSize = 20
  195.  
  196. TeleportLT.Name = "TeleportLT"
  197. TeleportLT.Parent = ScrollingFrame
  198. TeleportLT.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  199. TeleportLT.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  200. TeleportLT.BorderSizePixel = 3
  201. TeleportLT.Position = UDim2.new(0.490514934, 0, 0.0104986876, 0)
  202. TeleportLT.Size = UDim2.new(0, 167, 0, 41)
  203. TeleportLT.Font = Enum.Font.SourceSans
  204. TeleportLT.Text = "Teleport to Long Tunnel"
  205. TeleportLT.TextColor3 = Color3.new(1, 1, 1)
  206. TeleportLT.TextSize = 20
  207.  
  208. TeleportToCar.Name = "TeleportToCar"
  209. TeleportToCar.Parent = ScrollingFrame
  210. TeleportToCar.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  211. TeleportToCar.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  212. TeleportToCar.BorderSizePixel = 3
  213. TeleportToCar.Position = UDim2.new(0.0189701896, 0, 0.0104986876, 0)
  214. TeleportToCar.Size = UDim2.new(0, 167, 0, 41)
  215. TeleportToCar.Font = Enum.Font.SourceSans
  216. TeleportToCar.Text = "Teleport To Car"
  217. TeleportToCar.TextColor3 = Color3.new(1, 1, 1)
  218. TeleportToCar.TextSize = 20
  219.  
  220. CrateESP.Name = "CrateESP"
  221. CrateESP.Parent = ScrollingFrame
  222. CrateESP.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  223. CrateESP.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  224. CrateESP.BorderSizePixel = 3
  225. CrateESP.Position = UDim2.new(0.0162601657, 0, 0.270000011, 0)
  226. CrateESP.Size = UDim2.new(0, 167, 0, 41)
  227. CrateESP.Font = Enum.Font.SourceSans
  228. CrateESP.Text = "Crate ESP"
  229. CrateESP.TextColor3 = Color3.new(1, 1, 1)
  230. CrateESP.TextSize = 20
  231.  
  232. GiveAllPerks.Name = "GiveAllPerks"
  233. GiveAllPerks.Parent = ScrollingFrame
  234. GiveAllPerks.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  235. GiveAllPerks.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  236. GiveAllPerks.BorderSizePixel = 3
  237. GiveAllPerks.Position = UDim2.new(0.0189701933, 0, 0.519999981, 0)
  238. GiveAllPerks.Size = UDim2.new(0, 167, 0, 41)
  239. GiveAllPerks.Font = Enum.Font.SourceSans
  240. GiveAllPerks.Text = "Give All Perks"
  241. GiveAllPerks.TextColor3 = Color3.new(1, 1, 1)
  242. GiveAllPerks.TextSize = 20
  243.  
  244. SuperCar.Name = "SuperCar"
  245. SuperCar.Parent = ScrollingFrame
  246. SuperCar.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  247. SuperCar.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  248. SuperCar.BorderSizePixel = 3
  249. SuperCar.Position = UDim2.new(0.493224919, 0, 0.519999981, 0)
  250. SuperCar.Size = UDim2.new(0, 167, 0, 41)
  251. SuperCar.Font = Enum.Font.SourceSans
  252. SuperCar.Text = "Give Super Speed"
  253. SuperCar.TextColor3 = Color3.new(1, 1, 1)
  254. SuperCar.TextSize = 20
  255.  
  256. InfiniteNitro.Name = "InfiniteNitro"
  257. InfiniteNitro.Parent = ScrollingFrame
  258. InfiniteNitro.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  259. InfiniteNitro.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  260. InfiniteNitro.BorderSizePixel = 3
  261. InfiniteNitro.Position = UDim2.new(0.490514904, 0, 0.769999981, 0)
  262. InfiniteNitro.Size = UDim2.new(0, 167, 0, 41)
  263. InfiniteNitro.Font = Enum.Font.SourceSans
  264. InfiniteNitro.Text = "Infinite Nitro"
  265. InfiniteNitro.TextColor3 = Color3.new(1, 1, 1)
  266. InfiniteNitro.TextSize = 20
  267.  
  268. AutoFarm.Name = "AutoFarm"
  269. AutoFarm.Parent = ScrollingFrame
  270. AutoFarm.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  271. AutoFarm.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  272. AutoFarm.BorderSizePixel = 3
  273. AutoFarm.Position = UDim2.new(0.0162601657, 0, 0.769999981, 0)
  274. AutoFarm.Size = UDim2.new(0, 167, 0, 41)
  275. AutoFarm.Font = Enum.Font.SourceSans
  276. AutoFarm.Text = "Auto Farm"
  277. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  278. AutoFarm.TextSize = 20
  279.  
  280. Torque.Name = "Torque"
  281. Torque.Parent = VSV1
  282. Torque.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  283. Torque.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  284. Torque.BorderSizePixel = 3
  285. Torque.Position = UDim2.new(0.0399999991, 0, 0.197285011, 0)
  286. Torque.Size = UDim2.new(0, 166, 0, 25)
  287. Torque.Font = Enum.Font.SourceSans
  288. Torque.Text = "Torque"
  289. Torque.TextColor3 = Color3.new(1, 1, 1)
  290. Torque.TextSize = 25
  291.  
  292. Torquet.Name = "Torquet"
  293. Torquet.Parent = Torque
  294. Torquet.BackgroundColor3 = Color3.new(1, 1, 1)
  295. Torquet.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  296. Torquet.BorderSizePixel = 3
  297. Torquet.Position = UDim2.new(1.079, 0, -0.030026257, 0)
  298. Torquet.Size = UDim2.new(0, 155, 0, 25)
  299. Torquet.Font = Enum.Font.SourceSans
  300. Torquet.PlaceholderText = "Amount"
  301. Torquet.Text = ""
  302. Torquet.TextColor3 = Color3.new(0, 0, 0)
  303. Torquet.TextSize = 25
  304.  
  305. SteeringForce.Name = "SteeringForce"
  306. SteeringForce.Parent = VSV1
  307. SteeringForce.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  308. SteeringForce.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  309. SteeringForce.BorderSizePixel = 3
  310. SteeringForce.Position = UDim2.new(0.0419999994, 0, 0.524596989, 0)
  311. SteeringForce.Size = UDim2.new(0, 166, 0, 25)
  312. SteeringForce.Font = Enum.Font.SourceSans
  313. SteeringForce.Text = "Steering Force"
  314. SteeringForce.TextColor3 = Color3.new(1, 1, 1)
  315. SteeringForce.TextSize = 25
  316.  
  317. SFT.Name = "SFT"
  318. SFT.Parent = SteeringForce
  319. SFT.BackgroundColor3 = Color3.new(1, 1, 1)
  320. SFT.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  321. SFT.BorderSizePixel = 3
  322. SFT.Position = UDim2.new(1.0793581, 0, -0.00629922748, 0)
  323. SFT.Size = UDim2.new(0, 155, 0, 25)
  324. SFT.Font = Enum.Font.SourceSans
  325. SFT.PlaceholderText = "Amount"
  326. SFT.Text = ""
  327. SFT.TextColor3 = Color3.new(0, 0, 0)
  328. SFT.TextSize = 25
  329.  
  330. Open.Name = "Open"
  331. Open.Parent = VehicleSimultor
  332. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  333. Open.BackgroundTransparency = 0.5
  334. Open.BorderSizePixel = 0
  335. Open.Position = UDim2.new(0.5, 0, 0, 0)
  336. Open.Size = UDim2.new(0, 110, 0, 39)
  337. Open.Font = Enum.Font.SourceSans
  338. Open.Text = "Open"
  339. Open.TextColor3 = Color3.new(1, 1, 1)
  340. Open.TextScaled = true
  341. Open.TextSize = 14
  342. Open.TextWrapped = true
  343. Open.Visible = false
  344. -- Scripts:
  345. Open.MouseButton1Click:connect(function()
  346. VSV1.Visible = true
  347. Open.Visible = false
  348. end)
  349.  
  350. Close.MouseButton1Click:connect(function()
  351. VSV1.Visible = false
  352. Open.Visible = true
  353. end)
  354.  
  355. SteeringForce.MouseButton1Click:connect(function()
  356. findCar()
  357. myCar.Handling.SteeringRadiusConstant.Value = SFT.Text
  358. end)
  359.  
  360. function findCar()
  361. local vehicle = workspace.Vehicles:getChildren()
  362. for i=1,#vehicle do
  363. if vehicle[i]:findFirstChild("owner") then
  364. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  365. myCar = vehicle[i]
  366. end
  367. end
  368. end
  369. end
  370.  
  371.  
  372. SuperCar.MouseButton1Down:connect(function()
  373. findCar()
  374. myCar.Handling.MaxSpeed.Value = 10000
  375. myCar.Handling.Torque.Value = 40000
  376. myCar.Handling.SteeringRadiusConstant.Value = 15000
  377. myCar.Handling.FrictionRoad.Value = 250
  378. myCar.Handling.Nitro.NitroSpeed.Value = 500
  379. myCar.Handling.Nitro.NitroForce.Value = 5000
  380. myCar.Handling.TurboJump.TurboJumpHeight.Value = 250
  381. end)
  382.  
  383. Speed.MouseButton1Down:connect(function()
  384. findCar()
  385. myCar.Handling.MaxSpeed.Value = SpeedBind.Text
  386. myCar.Handling.SteeringRadiusConstant.Value = 1500000
  387. end)
  388.  
  389. Torque.MouseButton1Down:connect(function()
  390. findCar()
  391. myCar.Handling.Torque.Value = Torquet.Text
  392. end)
  393.  
  394. NitroSpeed.MouseButton1Down:connect(function()
  395. findCar()
  396. myCar.Handling.Nitro.NitroSpeed.Value = NST.Text
  397. end)
  398.  
  399. NitroForce.MouseButton1Down:connect(function()
  400. findCar()
  401. myCar.Handling.Nitro.NitroForce.Value = NFT.Text
  402. end)
  403.  
  404. JumpHeight.MouseButton1Down:connect(function()
  405. findCar()
  406. myCar.Handling.TurboJump.TurboJumpHeight.Value = JHT.Text
  407. end)
  408.  
  409. GiveAllPerks.MouseButton1Down:connect(function()
  410. game:GetService("Players").LocalPlayer.UserId = 1099580
  411. end)
  412.  
  413. CrateESP.MouseButton1Down:connect(function()
  414. local crates = workspace:getChildren()
  415. for i=1,#crates do
  416. if crates[i].ClassName == "Model" then
  417. local crates2 = crates[i]:getChildren()
  418. for i=1,#crates2 do
  419. if crates2[i].ClassName == "Model" then
  420. local crates3 = crates2[i]:getChildren()
  421. for i=1,#crates3 do
  422. if crates3[i].ClassName == "MeshPart" then
  423. if crates3[i]:findFirstChild("Smoke") then
  424. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  425. crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  426. else
  427. local a = Instance.new("BoxHandleAdornment",crates3[i])
  428. a.Size = Vector3.new(10,500,6)
  429. a.SizeRelativeOffset = Vector3.new(0,135,0)
  430. a.Color3 = Color3.fromRGB(0,255,0)
  431. a.Transparency = 0.5
  432. a.AlwaysOnTop = true
  433. a.Adornee = crates3[i]
  434. a.ZIndex = 1
  435. local b = Instance.new("BoxHandleAdornment",crates3[i])
  436. b.Size = Vector3.new(10,4,6)
  437. b.Color3 = Color3.fromRGB(0,0,255)
  438. b.Transparency = 0.3
  439. b.AlwaysOnTop = true
  440. b.Adornee = crates3[i]
  441. b.ZIndex = 1
  442. end
  443. end
  444. end
  445. end
  446. end
  447. end
  448. end
  449. end
  450. end)
  451.  
  452. TptoCrate.MouseButton1Down:connect(function()
  453. local crates = workspace:getChildren()
  454. for i=1,#crates do
  455. if crates[i].ClassName == "Model" then
  456. local crates2 = crates[i]:getChildren()
  457. for i=1,#crates2 do
  458. if crates2[i].ClassName == "Model" then
  459. local crates3 = crates2[i]:getChildren()
  460. for i=1,#crates3 do
  461. if crates3[i].ClassName == "MeshPart" then
  462. if crates3[i]:findFirstChild("Smoke") then
  463. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  464. wait()
  465. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  466. wait(4)
  467. end
  468. end
  469. end
  470. end
  471. end
  472. end
  473. end
  474. end)
  475.  
  476. TeleportToCar.MouseButton1Down:connect(function()
  477. findCar()
  478. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  479. end)
  480.  
  481. TeleportLT.MouseButton1Down:connect(function()
  482. findCar()
  483. myCar:MoveTo(Vector3.new(-2180,45,-3650))
  484. end)
  485.  
  486. InfiniteNitro.MouseButton1Down:connect(function()
  487. veh = nil
  488. for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
  489. if v:IsA("Model") then
  490. if v.owner.Value == game.Players.LocalPlayer.Name then
  491. veh = v
  492. end
  493. end
  494. end
  495. han = veh.Handling
  496.  
  497. while han ~= nil do
  498. wait(0.5)
  499. han.Nitro.NitroAmount.Value = 250
  500. end
  501. end)
  502.  
  503. AutoFarm.MouseButton1Down:connect(function()
  504. --[[
  505. Fully automatic money/miles farm
  506. TODO:
  507. Add auto respawn vehicle
  508. ]]
  509. local waitTime = 1 --This will be the time it takes (seconds) until your car resets. See line 37
  510. --Do not change anything below :)
  511. local hint = Instance.new('Hint', Workspace) hint.Text = "Vehicle Simulator Autofarm loading..."
  512. local found = false
  513. local go = true
  514.  
  515. function findVehicle() --Finds your vehicle
  516. while not found do --Loops until your vehicle has been found
  517. local vehicles = Workspace.Vehicles:getChildren()
  518. for i=1,#vehicles do
  519. if vehicles[i]:findFirstChild'owner' then
  520. if vehicles[i].owner.Value == game:GetService'Players'.LocalPlayer.Name then -- Found your vehicle
  521. found = true --Setting found to true so loop breaks
  522. vehicle = vehicles[i] -- Declares vehicle variable to your vehicle
  523. vehStats = vehicle.Handling -- Declares vehStats variable to vehicle stats folder
  524. vehStats.MaxSpeed.Value = 500
  525. vehStats.Torque.Value = 20000
  526. vehStats.SteeringRadiusConstant.Value = 120000000
  527. elseif vehicles[i + 1] == nil and not found then
  528. --Autorespawn would go here
  529. hint.Text = "Please spawn and enter your vehicle!" --Your vehicle does not exist in the Workspace
  530. end
  531. end
  532. end
  533. wait(1) --Waiting before checking again so we don't crash
  534. end
  535. wait(2) --We've found the car. Waiting so the car can be properly placed on the highway
  536. vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  537. end
  538.  
  539. function farm() --This is where the magic happens :)
  540. hint.Text = "Finished loading! Autofarm initialized."
  541. while wait(waitTime) do --Waits x seconds before resetting car
  542. vehicle:SetPrimaryPartCFrame(CFrame.new(-2470,60,777)) --Teleports vehicle to highway
  543. game:GetService'VirtualUser':SetKeyUp("w") --Resets W key
  544. game:GetService'VirtualUser':SetKeyDown("w") --Presses W key to go forward
  545. end
  546. end
  547. findVehicle() --Calls the findVehicle function
  548. while go do
  549. if not pcall(farm()) then --Calls farm function & checks for errors
  550. found = false --If it errors, it sets found to false and continues looking for your vehicle.
  551. findVehicle()
  552. end
  553. end
  554. end)
Add Comment
Please, Sign In to add comment