Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.73 KB | None | 0 0
  1. -- Credits to WolfyGD
  2. -- Version: 2.82
  3. -- Instances:
  4. local VehicleSimulatorFuhaxor = Instance.new("ScreenGui")
  5. local OpenFrame = Instance.new("Frame")
  6. local Open = Instance.new("TextButton")
  7. local Main = Instance.new("Frame")
  8. local BeautyA = Instance.new("Frame")
  9. local Name = Instance.new("TextLabel")
  10. local BeautyB = Instance.new("Frame")
  11. local Credit = Instance.new("TextLabel")
  12. local Torque = Instance.new("TextButton")
  13. local Torquet = Instance.new("TextBox")
  14. local TptoCrate = Instance.new("TextButton")
  15. local NitroSpeed = Instance.new("TextButton")
  16. local NST = Instance.new("TextBox")
  17. local TeleportToCar = Instance.new("TextButton")
  18. local NitroForce = Instance.new("TextButton")
  19. local NFT = Instance.new("TextBox")
  20. local Speed = Instance.new("TextButton")
  21. local SpeedBind = Instance.new("TextBox")
  22. local CrateESP = Instance.new("TextButton")
  23. local SuperCar = Instance.new("TextButton")
  24. local GiveAllPerks = Instance.new("TextButton")
  25. local Close = Instance.new("TextButton")
  26. local JumpHeight = Instance.new("TextButton")
  27. local JHT = Instance.new("TextBox")
  28. local AutoFarm = Instance.new("TextButton")
  29. local Braking = Instance.new("TextButton")
  30. local BrakingT = Instance.new("TextBox")
  31. --Properties:
  32. VehicleSimulatorFuhaxor.Name = "Vehicle Simulator Fuhaxor"
  33. VehicleSimulatorFuhaxor.Parent = game.CoreGui
  34. VehicleSimulatorFuhaxor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  35.  
  36. OpenFrame.Name = "OpenFrame"
  37. OpenFrame.Parent = VehicleSimulatorFuhaxor
  38. OpenFrame.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  39. OpenFrame.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  40. OpenFrame.Position = UDim2.new(0, 0, 0.47716558, 0)
  41. OpenFrame.Size = UDim2.new(0, 69, 0, 27)
  42. Open.MouseButton1Down:connect(function()
  43. Main.Visible = true
  44. OpenFrame.Visible = false
  45. end)
  46.  
  47. Open.Name = "Open"
  48. Open.Parent = OpenFrame
  49. Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  50. Open.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  51. Open.Size = UDim2.new(0, 65, 0, 25)
  52. Open.Font = Enum.Font.Cartoon
  53. Open.Text = "Open"
  54. Open.TextColor3 = Color3.new(1, 1, 1)
  55. Open.TextSize = 30
  56.  
  57. Main.Name = "Main"
  58. Main.Parent = VehicleSimulatorFuhaxor
  59. Main.Active = true
  60. Main.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  61. Main.BorderSizePixel = 0
  62. Main.Position = UDim2.new(0.376574308, 0, 0.178571433, 0)
  63. Main.Size = UDim2.new(0, 439, 0, 278)
  64. Main.Visible = false
  65. Main.Draggable = true
  66.  
  67. BeautyA.Name = "BeautyA"
  68. BeautyA.Parent = Main
  69. BeautyA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  70. BeautyA.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  71. BeautyA.BorderSizePixel = 0
  72. BeautyA.Size = UDim2.new(0, 439, 0, 25)
  73.  
  74. Name.Name = "Name"
  75. Name.Parent = BeautyA
  76. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  77. Name.BackgroundTransparency = 1
  78. Name.BorderSizePixel = 0
  79. Name.Position = UDim2.new(0.316628695, 0, 0, 0)
  80. Name.Size = UDim2.new(0, 154, 0, 25)
  81. Name.Font = Enum.Font.Cartoon
  82. Name.Text = "Vehicle Simulator Succ "
  83. Name.TextColor3 = Color3.new(1, 1, 1)
  84. Name.TextSize = 20
  85.  
  86. BeautyB.Name = "BeautyB"
  87. BeautyB.Parent = Main
  88. BeautyB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  89. BeautyB.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  90. BeautyB.BorderSizePixel = 0
  91. BeautyB.Position = UDim2.new(0, 0, 0.91366905, 0)
  92. BeautyB.Size = UDim2.new(0, 439, 0, 24)
  93.  
  94. Credit.Name = "Credit"
  95. Credit.Parent = BeautyB
  96. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  97. Credit.BackgroundTransparency = 1
  98. Credit.BorderSizePixel = 0
  99. Credit.Size = UDim2.new(0, 439, 0, 24)
  100. Credit.Font = Enum.Font.Cartoon
  101. Credit.Text = "Gui Made By Duky #4715 , Scripts Made By someone"
  102. Credit.TextColor3 = Color3.new(1, 1, 1)
  103. Credit.TextSize = 16
  104.  
  105. Torque.Name = "Torque"
  106. Torque.Parent = Main
  107. Torque.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  108. Torque.BorderSizePixel = 0
  109. Torque.Position = UDim2.new(0.679532647, 0, 0.169338807, 0)
  110. Torque.Size = UDim2.new(0, 67, 0, 38)
  111. Torque.Font = Enum.Font.Cartoon
  112. Torque.Text = "Torque"
  113. Torque.TextColor3 = Color3.new(1, 1, 1)
  114. Torque.TextSize = 25
  115.  
  116. Torquet.Name = "Torquet"
  117. Torquet.Parent = Torque
  118. Torquet.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  119. Torquet.BorderSizePixel = 0
  120. Torquet.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  121. Torquet.Size = UDim2.new(0, 67, 0, 38)
  122. Torquet.Font = Enum.Font.Cartoon
  123. Torquet.Text = "Amount"
  124. Torquet.TextColor3 = Color3.new(0, 0, 0)
  125. Torquet.TextSize = 14
  126. Torquet.TextWrapped = true
  127.  
  128. TptoCrate.Name = "TptoCrate"
  129. TptoCrate.Parent = Main
  130. TptoCrate.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  131. TptoCrate.BorderSizePixel = 0
  132. TptoCrate.Position = UDim2.new(0.0262044966, 0, 0.165741712, 0)
  133. TptoCrate.Size = UDim2.new(0, 126, 0, 38)
  134. TptoCrate.Font = Enum.Font.Cartoon
  135. TptoCrate.Text = "Tp to Crate"
  136. TptoCrate.TextColor3 = Color3.new(1, 1, 1)
  137. TptoCrate.TextSize = 25
  138.  
  139. NitroSpeed.Name = "NitroSpeed"
  140. NitroSpeed.Parent = Main
  141. NitroSpeed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  142. NitroSpeed.BorderSizePixel = 0
  143. NitroSpeed.Position = UDim2.new(0.346034855, 0, 0.169338807, 0)
  144. NitroSpeed.Size = UDim2.new(0, 64, 0, 38)
  145. NitroSpeed.Font = Enum.Font.Cartoon
  146. NitroSpeed.Text = "Nitro Speed"
  147. NitroSpeed.TextColor3 = Color3.new(1, 1, 1)
  148. NitroSpeed.TextScaled = true
  149. NitroSpeed.TextSize = 13
  150. NitroSpeed.TextWrapped = true
  151.  
  152. NST.Name = "NST"
  153. NST.Parent = NitroSpeed
  154. NST.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  155. NST.BorderSizePixel = 0
  156. NST.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  157. NST.Size = UDim2.new(0, 67, 0, 38)
  158. NST.Font = Enum.Font.Cartoon
  159. NST.Text = "Amount"
  160. NST.TextColor3 = Color3.new(0, 0, 0)
  161. NST.TextSize = 14
  162. NST.TextWrapped = true
  163.  
  164. TeleportToCar.Name = "TeleportToCar"
  165. TeleportToCar.Parent = Main
  166. TeleportToCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  167. TeleportToCar.BorderSizePixel = 0
  168. TeleportToCar.Position = UDim2.new(0.026204519, 0, 0.332408428, 0)
  169. TeleportToCar.Size = UDim2.new(0, 126, 0, 33)
  170. TeleportToCar.Font = Enum.Font.Cartoon
  171. TeleportToCar.Text = "Teleport To Car"
  172. TeleportToCar.TextColor3 = Color3.new(1, 1, 1)
  173. TeleportToCar.TextScaled = true
  174. TeleportToCar.TextSize = 20
  175. TeleportToCar.TextWrapped = true
  176.  
  177. NitroForce.Name = "NitroForce"
  178. NitroForce.Parent = Main
  179. NitroForce.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  180. NitroForce.BorderSizePixel = 0
  181. NitroForce.Position = UDim2.new(0.346034855, 0, 0.336005569, 0)
  182. NitroForce.Size = UDim2.new(0, 64, 0, 38)
  183. NitroForce.Font = Enum.Font.Cartoon
  184. NitroForce.Text = "Nitro Force"
  185. NitroForce.TextColor3 = Color3.new(1, 1, 1)
  186. NitroForce.TextSize = 17
  187. NitroForce.TextWrapped = true
  188.  
  189. NFT.Name = "NFT"
  190. NFT.Parent = NitroForce
  191. NFT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  192. NFT.BorderSizePixel = 0
  193. NFT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  194. NFT.Size = UDim2.new(0, 67, 0, 38)
  195. NFT.Font = Enum.Font.Cartoon
  196. NFT.Text = "Amount"
  197. NFT.TextColor3 = Color3.new(0, 0, 0)
  198. NFT.TextSize = 14
  199. NFT.TextWrapped = true
  200.  
  201. Speed.Name = "Speed"
  202. Speed.Parent = Main
  203. Speed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  204. Speed.BorderSizePixel = 0
  205. Speed.Position = UDim2.new(0.679532647, 0, 0.336005569, 0)
  206. Speed.Size = UDim2.new(0, 67, 0, 38)
  207. Speed.Font = Enum.Font.Cartoon
  208. Speed.Text = "Speed"
  209. Speed.TextColor3 = Color3.new(1, 1, 1)
  210. Speed.TextSize = 25
  211.  
  212. SpeedBind.Name = "SpeedBind"
  213. SpeedBind.Parent = Speed
  214. SpeedBind.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  215. SpeedBind.BorderSizePixel = 0
  216. SpeedBind.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  217. SpeedBind.Size = UDim2.new(0, 67, 0, 38)
  218. SpeedBind.Font = Enum.Font.Cartoon
  219. SpeedBind.Text = "Amount"
  220. SpeedBind.TextColor3 = Color3.new(0, 0, 0)
  221. SpeedBind.TextSize = 14
  222. SpeedBind.TextWrapped = true
  223.  
  224. CrateESP.Name = "CrateESP"
  225. CrateESP.Parent = Main
  226. CrateESP.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  227. CrateESP.BorderSizePixel = 0
  228. CrateESP.Position = UDim2.new(0.0262044966, 0, 0.748543978, 0)
  229. CrateESP.Size = UDim2.new(0, 126, 0, 38)
  230. CrateESP.Font = Enum.Font.Cartoon
  231. CrateESP.Text = "Crate ESP"
  232. CrateESP.TextColor3 = Color3.new(1, 1, 1)
  233. CrateESP.TextSize = 25
  234.  
  235. SuperCar.Name = "SuperCar"
  236. SuperCar.Parent = Main
  237. SuperCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  238. SuperCar.BorderSizePixel = 0
  239. SuperCar.Position = UDim2.new(0.355146468, 0, 0.748544037, 0)
  240. SuperCar.Size = UDim2.new(0, 126, 0, 38)
  241. SuperCar.Font = Enum.Font.Cartoon
  242. SuperCar.Text = "Super Car"
  243. SuperCar.TextColor3 = Color3.new(1, 1, 1)
  244. SuperCar.TextSize = 25
  245.  
  246. GiveAllPerks.Name = "GiveAllPerks"
  247. GiveAllPerks.Parent = Main
  248. GiveAllPerks.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  249. GiveAllPerks.BorderSizePixel = 0
  250. GiveAllPerks.Position = UDim2.new(0.695478082, 0, 0.748543978, 0)
  251. GiveAllPerks.Size = UDim2.new(0, 126, 0, 38)
  252. GiveAllPerks.Font = Enum.Font.Cartoon
  253. GiveAllPerks.Text = "Give All Perks"
  254. GiveAllPerks.TextColor3 = Color3.new(1, 1, 1)
  255. GiveAllPerks.TextSize = 20
  256.  
  257. Close.Name = "Close"
  258. Close.Parent = Main
  259. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  260. Close.BackgroundTransparency = 1
  261. Close.BorderSizePixel = 0
  262. Close.Position = UDim2.new(0.935208917, 0, -0.00128471851, 0)
  263. Close.Size = UDim2.new(0, 28, 0, 25)
  264. Close.Font = Enum.Font.SourceSans
  265. Close.Text = "X"
  266. Close.TextColor3 = Color3.new(1, 1, 1)
  267. Close.TextSize = 30
  268. Close.MouseButton1Down:connect(function()
  269. OpenFrame.Visible = true
  270. Main.Visible = false
  271. end)
  272.  
  273. JumpHeight.Name = "JumpHeight"
  274. JumpHeight.Parent = Main
  275. JumpHeight.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  276. JumpHeight.BorderSizePixel = 0
  277. JumpHeight.Position = UDim2.new(0.346034855, 0, 0.497876078, 0)
  278. JumpHeight.Size = UDim2.new(0, 64, 0, 38)
  279. JumpHeight.Font = Enum.Font.Cartoon
  280. JumpHeight.Text = "Jump Height"
  281. JumpHeight.TextColor3 = Color3.new(1, 1, 1)
  282. JumpHeight.TextScaled = true
  283. JumpHeight.TextSize = 15
  284. JumpHeight.TextWrapped = true
  285.  
  286. JHT.Name = "JHT"
  287. JHT.Parent = JumpHeight
  288. JHT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  289. JHT.BorderSizePixel = 0
  290. JHT.Position = UDim2.new(1.08955193, 0, 0, 0)
  291. JHT.Size = UDim2.new(0, 67, 0, 38)
  292. JHT.Font = Enum.Font.Cartoon
  293. JHT.Text = "Amount"
  294. JHT.TextColor3 = Color3.new(0, 0, 0)
  295. JHT.TextSize = 14
  296. JHT.TextWrapped = true
  297.  
  298. AutoFarm.Name = "AutoFarm"
  299. AutoFarm.Parent = Main
  300. AutoFarm.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  301. AutoFarm.BorderSizePixel = 0
  302. AutoFarm.Position = UDim2.new(0.0262044966, 0, 0.496676952, 0)
  303. AutoFarm.Size = UDim2.new(0, 126, 0, 38)
  304. AutoFarm.Font = Enum.Font.Cartoon
  305. AutoFarm.Text = "Auto Farm"
  306. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  307. AutoFarm.TextSize = 25
  308.  
  309. Braking.Name = "Braking"
  310. Braking.Parent = Main
  311. Braking.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  312. Braking.BorderSizePixel = 0
  313. Braking.Position = UDim2.new(0.679532647, 0, 0.494278967, 0)
  314. Braking.Size = UDim2.new(0, 67, 0, 38)
  315. Braking.Font = Enum.Font.Cartoon
  316. Braking.Text = "Braking"
  317. Braking.TextColor3 = Color3.new(1, 1, 1)
  318. Braking.TextScaled = true
  319. Braking.TextSize = 23
  320. Braking.TextWrapped = true
  321.  
  322. BrakingT.Name = "BrakingT"
  323. BrakingT.Parent = Braking
  324. BrakingT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  325. BrakingT.BorderSizePixel = 0
  326. BrakingT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  327. BrakingT.Size = UDim2.new(0, 67, 0, 38)
  328. BrakingT.Font = Enum.Font.Cartoon
  329. BrakingT.Text = "Amount"
  330. BrakingT.TextColor3 = Color3.new(0, 0, 0)
  331. BrakingT.TextSize = 14
  332. BrakingT.TextWrapped = true
  333. -- Scripts:
  334.  
  335. function findCar()
  336. local vehicle = workspace.Vehicles:getChildren()
  337. for i=1,#vehicle do
  338. if vehicle[i]:findFirstChild("owner") then
  339. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  340. myCar = vehicle[i]
  341. end
  342. end
  343. end
  344. end
  345.  
  346. AutoFarm.MouseButton1Down:connect(function()
  347. local waitTime = 3 --This will be the time it takes (seconds) until your car resets. See line 37
  348. --Do not change anything below :)
  349. local hint = Instance.new('Hint', Workspace) hint.Text = "Vehicle Simulator Autofarm loading..."
  350. local found = false
  351. local go = true
  352.  
  353. function findVehicle() --Finds your vehicle
  354. while not found do --Loops until your vehicle has been found
  355. local vehicles = Workspace.Vehicles:getChildren()
  356. for i=1,#vehicles do
  357. if vehicles[i]:findFirstChild'owner' then
  358. if vehicles[i].owner.Value == game:GetService'Players'.LocalPlayer.Name then -- Found your vehicle
  359. found = true --Setting found to true so loop breaks
  360. vehicle = vehicles[i] -- Declares vehicle variable to your vehicle
  361. vehStats = vehicle.Handling -- Declares vehStats variable to vehicle stats folder
  362. vehStats.MaxSpeed.Value = 800
  363. vehStats.Torque.Value = 60000
  364. vehStats.SteeringRadiusConstant.Value = 120000000
  365. elseif vehicles[i + 1] == nil and not found then
  366. --Autorespawn would go here
  367. hint.Text = "Please spawn and enter your vehicle!" --Your vehicle does not exist in the Workspace
  368. end
  369. end
  370. end
  371. wait(1) --Waiting before checking again so we don't crash
  372. end
  373. wait(2) --We've found the car. Waiting so the car can be properly placed on the highway
  374. vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  375. end
  376.  
  377. function farm() --This is where the magic happens :)
  378. hint.Text = "Finished loading! Autofarm initialized."
  379. while wait(waitTime) do --Waits x seconds before resetting car
  380. vehicle:SetPrimaryPartCFrame(CFrame.new(-2470,60,777)) --Teleports vehicle to highway
  381. game:GetService'VirtualUser':SetKeyUp("w") --Resets W key
  382. game:GetService'VirtualUser':SetKeyDown("w") --Presses W key to go forward
  383. end
  384. end
  385. findVehicle() --Calls the findVehicle function
  386. while go do
  387. if not pcall(farm()) then --Calls farm function & checks for errors
  388. found = false --If it errors, it sets found to false and continues looking for your vehicle.
  389. findVehicle()
  390. end
  391. end
  392. end)
  393.  
  394. SuperCar.MouseButton1Down:connect(function()
  395. findCar()
  396. myCar.Handling.MaxSpeed.Value = 10000
  397. myCar.Handling.Torque.Value = 55555
  398. myCar.Handling.SteeringRadiusConstant.Value = 15000
  399. myCar.Handling.FrictionRoad.Value = 250
  400. myCar.Handling.Nitro.NitroSpeed.Value = 100000
  401. myCar.Handling.Nitro.NitroForce.Value = 100000
  402. myCar.Handling.Braking.Value = 100000
  403. myCar.Handling.TurboJump.TurboJumpHeight.Value = 25
  404. end)
  405.  
  406. Speed.MouseButton1Down:connect(function()
  407. findCar()
  408. myCar.Handling.MaxSpeed.Value = SpeedBind.Text
  409. myCar.Handling.SteeringRadiusConstant.Value = 15000
  410. end)
  411.  
  412. Torque.MouseButton1Down:connect(function()
  413. findCar()
  414. myCar.Handling.Torque.Value = Torquet.Text
  415. end)
  416.  
  417. NitroSpeed.MouseButton1Down:connect(function()
  418. findCar()
  419. myCar.Handling.Nitro.NitroSpeed.Value = NST.Text
  420. end)
  421.  
  422. NitroForce.MouseButton1Down:connect(function()
  423. findCar()
  424. myCar.Handling.Nitro.NitroForce.Value = NFT.Text
  425. end)
  426.  
  427. JumpHeight.MouseButton1Down:connect(function()
  428. findCar()
  429. myCar.Handling.TurboJump.TurboJumpHeight.Value = JHT.Text
  430. end)
  431.  
  432. Braking.MouseButton1Down:connect(function()
  433. findCar()
  434. myCar.Handling.Braking.Value = BrakingT.Text
  435. end)
  436.  
  437. GiveAllPerks.MouseButton1Down:connect(function()
  438. game:GetService("Players").LocalPlayer.UserId = 1099580
  439. end)
  440.  
  441. CrateESP.MouseButton1Down:connect(function()
  442. local crates = workspace:getChildren()
  443. for i=1,#crates do
  444. if crates[i].ClassName == "Model" then
  445. local crates2 = crates[i]:getChildren()
  446. for i=1,#crates2 do
  447. if crates2[i].ClassName == "Model" then
  448. local crates3 = crates2[i]:getChildren()
  449. for i=1,#crates3 do
  450. if crates3[i].ClassName == "MeshPart" then
  451. if crates3[i]:findFirstChild("Smoke") then
  452. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  453. crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  454. else
  455. local a = Instance.new("BoxHandleAdornment",crates3[i])
  456. a.Size = Vector3.new(10,500,6)
  457. a.SizeRelativeOffset = Vector3.new(0,135,0)
  458. a.Color3 = Color3.fromRGB(0,255,0)
  459. a.Transparency = 0.5
  460. a.AlwaysOnTop = true
  461. a.Adornee = crates3[i]
  462. a.ZIndex = 1
  463. local b = Instance.new("BoxHandleAdornment",crates3[i])
  464. b.Size = Vector3.new(10,4,6)
  465. b.Color3 = Color3.fromRGB(0,0,255)
  466. b.Transparency = 0.3
  467. b.AlwaysOnTop = true
  468. b.Adornee = crates3[i]
  469. b.ZIndex = 1
  470. end
  471. end
  472. end
  473. end
  474. end
  475. end
  476. end
  477. end
  478. end)
  479.  
  480. TptoCrate.MouseButton1Down:connect(function()
  481. local crates = workspace:getChildren()
  482. for i=1,#crates do
  483. if crates[i].ClassName == "Model" then
  484. local crates2 = crates[i]:getChildren()
  485. for i=1,#crates2 do
  486. if crates2[i].ClassName == "Model" then
  487. local crates3 = crates2[i]:getChildren()
  488. for i=1,#crates3 do
  489. if crates3[i].ClassName == "MeshPart" then
  490. if crates3[i]:findFirstChild("Smoke") then
  491. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  492. wait()
  493. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  494. wait(4)
  495. end
  496. end
  497. end
  498. end
  499. end
  500. end
  501. end
  502. end)
  503.  
  504. TeleportToCar.MouseButton1Down:connect(function()
  505. findCar()
  506. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  507. end)
  508.  
  509.  
  510. --] Updated 02.02.2019
  511. --] Added Braking
  512. RAW Paste Data
  513. -- Credits to WolfyGD
  514. -- Version: 2.82
  515. -- Instances:
  516. local VehicleSimulatorFuhaxor = Instance.new("ScreenGui")
  517. local OpenFrame = Instance.new("Frame")
  518. local Open = Instance.new("TextButton")
  519. local Main = Instance.new("Frame")
  520. local BeautyA = Instance.new("Frame")
  521. local Name = Instance.new("TextLabel")
  522. local BeautyB = Instance.new("Frame")
  523. local Credit = Instance.new("TextLabel")
  524. local Torque = Instance.new("TextButton")
  525. local Torquet = Instance.new("TextBox")
  526. local TptoCrate = Instance.new("TextButton")
  527. local NitroSpeed = Instance.new("TextButton")
  528. local NST = Instance.new("TextBox")
  529. local TeleportToCar = Instance.new("TextButton")
  530. local NitroForce = Instance.new("TextButton")
  531. local NFT = Instance.new("TextBox")
  532. local Speed = Instance.new("TextButton")
  533. local SpeedBind = Instance.new("TextBox")
  534. local CrateESP = Instance.new("TextButton")
  535. local SuperCar = Instance.new("TextButton")
  536. local GiveAllPerks = Instance.new("TextButton")
  537. local Close = Instance.new("TextButton")
  538. local JumpHeight = Instance.new("TextButton")
  539. local JHT = Instance.new("TextBox")
  540. local AutoFarm = Instance.new("TextButton")
  541. local Braking = Instance.new("TextButton")
  542. local BrakingT = Instance.new("TextBox")
  543. --Properties:
  544. VehicleSimulatorFuhaxor.Name = "Vehicle Simulator Fuhaxor"
  545. VehicleSimulatorFuhaxor.Parent = game.CoreGui
  546. VehicleSimulatorFuhaxor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  547.  
  548. OpenFrame.Name = "OpenFrame"
  549. OpenFrame.Parent = VehicleSimulatorFuhaxor
  550. OpenFrame.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  551. OpenFrame.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  552. OpenFrame.Position = UDim2.new(0, 0, 0.47716558, 0)
  553. OpenFrame.Size = UDim2.new(0, 69, 0, 27)
  554. Open.MouseButton1Down:connect(function()
  555. Main.Visible = true
  556. OpenFrame.Visible = false
  557. end)
  558.  
  559. Open.Name = "Open"
  560. Open.Parent = OpenFrame
  561. Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  562. Open.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  563. Open.Size = UDim2.new(0, 65, 0, 25)
  564. Open.Font = Enum.Font.Cartoon
  565. Open.Text = "Open"
  566. Open.TextColor3 = Color3.new(1, 1, 1)
  567. Open.TextSize = 30
  568.  
  569. Main.Name = "Main"
  570. Main.Parent = VehicleSimulatorFuhaxor
  571. Main.Active = true
  572. Main.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  573. Main.BorderSizePixel = 0
  574. Main.Position = UDim2.new(0.376574308, 0, 0.178571433, 0)
  575. Main.Size = UDim2.new(0, 439, 0, 278)
  576. Main.Visible = false
  577. Main.Draggable = true
  578.  
  579. BeautyA.Name = "BeautyA"
  580. BeautyA.Parent = Main
  581. BeautyA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  582. BeautyA.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  583. BeautyA.BorderSizePixel = 0
  584. BeautyA.Size = UDim2.new(0, 439, 0, 25)
  585.  
  586. Name.Name = "Name"
  587. Name.Parent = BeautyA
  588. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  589. Name.BackgroundTransparency = 1
  590. Name.BorderSizePixel = 0
  591. Name.Position = UDim2.new(0.316628695, 0, 0, 0)
  592. Name.Size = UDim2.new(0, 154, 0, 25)
  593. Name.Font = Enum.Font.Cartoon
  594. Name.Text = "Vehicle Simulator Succ "
  595. Name.TextColor3 = Color3.new(1, 1, 1)
  596. Name.TextSize = 20
  597.  
  598. BeautyB.Name = "BeautyB"
  599. BeautyB.Parent = Main
  600. BeautyB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  601. BeautyB.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  602. BeautyB.BorderSizePixel = 0
  603. BeautyB.Position = UDim2.new(0, 0, 0.91366905, 0)
  604. BeautyB.Size = UDim2.new(0, 439, 0, 24)
  605.  
  606. Credit.Name = "Credit"
  607. Credit.Parent = BeautyB
  608. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  609. Credit.BackgroundTransparency = 1
  610. Credit.BorderSizePixel = 0
  611. Credit.Size = UDim2.new(0, 439, 0, 24)
  612. Credit.Font = Enum.Font.Cartoon
  613. Credit.Text = "Gui Made By Duky #4715 , Scripts Made By someone"
  614. Credit.TextColor3 = Color3.new(1, 1, 1)
  615. Credit.TextSize = 16
  616.  
  617. Torque.Name = "Torque"
  618. Torque.Parent = Main
  619. Torque.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  620. Torque.BorderSizePixel = 0
  621. Torque.Position = UDim2.new(0.679532647, 0, 0.169338807, 0)
  622. Torque.Size = UDim2.new(0, 67, 0, 38)
  623. Torque.Font = Enum.Font.Cartoon
  624. Torque.Text = "Torque"
  625. Torque.TextColor3 = Color3.new(1, 1, 1)
  626. Torque.TextSize = 25
  627.  
  628. Torquet.Name = "Torquet"
  629. Torquet.Parent = Torque
  630. Torquet.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  631. Torquet.BorderSizePixel = 0
  632. Torquet.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  633. Torquet.Size = UDim2.new(0, 67, 0, 38)
  634. Torquet.Font = Enum.Font.Cartoon
  635. Torquet.Text = "Amount"
  636. Torquet.TextColor3 = Color3.new(0, 0, 0)
  637. Torquet.TextSize = 14
  638. Torquet.TextWrapped = true
  639.  
  640. TptoCrate.Name = "TptoCrate"
  641. TptoCrate.Parent = Main
  642. TptoCrate.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  643. TptoCrate.BorderSizePixel = 0
  644. TptoCrate.Position = UDim2.new(0.0262044966, 0, 0.165741712, 0)
  645. TptoCrate.Size = UDim2.new(0, 126, 0, 38)
  646. TptoCrate.Font = Enum.Font.Cartoon
  647. TptoCrate.Text = "Tp to Crate"
  648. TptoCrate.TextColor3 = Color3.new(1, 1, 1)
  649. TptoCrate.TextSize = 25
  650.  
  651. NitroSpeed.Name = "NitroSpeed"
  652. NitroSpeed.Parent = Main
  653. NitroSpeed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  654. NitroSpeed.BorderSizePixel = 0
  655. NitroSpeed.Position = UDim2.new(0.346034855, 0, 0.169338807, 0)
  656. NitroSpeed.Size = UDim2.new(0, 64, 0, 38)
  657. NitroSpeed.Font = Enum.Font.Cartoon
  658. NitroSpeed.Text = "Nitro Speed"
  659. NitroSpeed.TextColor3 = Color3.new(1, 1, 1)
  660. NitroSpeed.TextScaled = true
  661. NitroSpeed.TextSize = 13
  662. NitroSpeed.TextWrapped = true
  663.  
  664. NST.Name = "NST"
  665. NST.Parent = NitroSpeed
  666. NST.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  667. NST.BorderSizePixel = 0
  668. NST.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  669. NST.Size = UDim2.new(0, 67, 0, 38)
  670. NST.Font = Enum.Font.Cartoon
  671. NST.Text = "Amount"
  672. NST.TextColor3 = Color3.new(0, 0, 0)
  673. NST.TextSize = 14
  674. NST.TextWrapped = true
  675.  
  676. TeleportToCar.Name = "TeleportToCar"
  677. TeleportToCar.Parent = Main
  678. TeleportToCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  679. TeleportToCar.BorderSizePixel = 0
  680. TeleportToCar.Position = UDim2.new(0.026204519, 0, 0.332408428, 0)
  681. TeleportToCar.Size = UDim2.new(0, 126, 0, 33)
  682. TeleportToCar.Font = Enum.Font.Cartoon
  683. TeleportToCar.Text = "Teleport To Car"
  684. TeleportToCar.TextColor3 = Color3.new(1, 1, 1)
  685. TeleportToCar.TextScaled = true
  686. TeleportToCar.TextSize = 20
  687. TeleportToCar.TextWrapped = true
  688.  
  689. NitroForce.Name = "NitroForce"
  690. NitroForce.Parent = Main
  691. NitroForce.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  692. NitroForce.BorderSizePixel = 0
  693. NitroForce.Position = UDim2.new(0.346034855, 0, 0.336005569, 0)
  694. NitroForce.Size = UDim2.new(0, 64, 0, 38)
  695. NitroForce.Font = Enum.Font.Cartoon
  696. NitroForce.Text = "Nitro Force"
  697. NitroForce.TextColor3 = Color3.new(1, 1, 1)
  698. NitroForce.TextSize = 17
  699. NitroForce.TextWrapped = true
  700.  
  701. NFT.Name = "NFT"
  702. NFT.Parent = NitroForce
  703. NFT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  704. NFT.BorderSizePixel = 0
  705. NFT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  706. NFT.Size = UDim2.new(0, 67, 0, 38)
  707. NFT.Font = Enum.Font.Cartoon
  708. NFT.Text = "Amount"
  709. NFT.TextColor3 = Color3.new(0, 0, 0)
  710. NFT.TextSize = 14
  711. NFT.TextWrapped = true
  712.  
  713. Speed.Name = "Speed"
  714. Speed.Parent = Main
  715. Speed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  716. Speed.BorderSizePixel = 0
  717. Speed.Position = UDim2.new(0.679532647, 0, 0.336005569, 0)
  718. Speed.Size = UDim2.new(0, 67, 0, 38)
  719. Speed.Font = Enum.Font.Cartoon
  720. Speed.Text = "Speed"
  721. Speed.TextColor3 = Color3.new(1, 1, 1)
  722. Speed.TextSize = 25
  723.  
  724. SpeedBind.Name = "SpeedBind"
  725. SpeedBind.Parent = Speed
  726. SpeedBind.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  727. SpeedBind.BorderSizePixel = 0
  728. SpeedBind.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  729. SpeedBind.Size = UDim2.new(0, 67, 0, 38)
  730. SpeedBind.Font = Enum.Font.Cartoon
  731. SpeedBind.Text = "Amount"
  732. SpeedBind.TextColor3 = Color3.new(0, 0, 0)
  733. SpeedBind.TextSize = 14
  734. SpeedBind.TextWrapped = true
  735.  
  736. CrateESP.Name = "CrateESP"
  737. CrateESP.Parent = Main
  738. CrateESP.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  739. CrateESP.BorderSizePixel = 0
  740. CrateESP.Position = UDim2.new(0.0262044966, 0, 0.748543978, 0)
  741. CrateESP.Size = UDim2.new(0, 126, 0, 38)
  742. CrateESP.Font = Enum.Font.Cartoon
  743. CrateESP.Text = "Crate ESP"
  744. CrateESP.TextColor3 = Color3.new(1, 1, 1)
  745. CrateESP.TextSize = 25
  746.  
  747. SuperCar.Name = "SuperCar"
  748. SuperCar.Parent = Main
  749. SuperCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  750. SuperCar.BorderSizePixel = 0
  751. SuperCar.Position = UDim2.new(0.355146468, 0, 0.748544037, 0)
  752. SuperCar.Size = UDim2.new(0, 126, 0, 38)
  753. SuperCar.Font = Enum.Font.Cartoon
  754. SuperCar.Text = "Super Car"
  755. SuperCar.TextColor3 = Color3.new(1, 1, 1)
  756. SuperCar.TextSize = 25
  757.  
  758. GiveAllPerks.Name = "GiveAllPerks"
  759. GiveAllPerks.Parent = Main
  760. GiveAllPerks.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  761. GiveAllPerks.BorderSizePixel = 0
  762. GiveAllPerks.Position = UDim2.new(0.695478082, 0, 0.748543978, 0)
  763. GiveAllPerks.Size = UDim2.new(0, 126, 0, 38)
  764. GiveAllPerks.Font = Enum.Font.Cartoon
  765. GiveAllPerks.Text = "Give All Perks"
  766. GiveAllPerks.TextColor3 = Color3.new(1, 1, 1)
  767. GiveAllPerks.TextSize = 20
  768.  
  769. Close.Name = "Close"
  770. Close.Parent = Main
  771. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  772. Close.BackgroundTransparency = 1
  773. Close.BorderSizePixel = 0
  774. Close.Position = UDim2.new(0.935208917, 0, -0.00128471851, 0)
  775. Close.Size = UDim2.new(0, 28, 0, 25)
  776. Close.Font = Enum.Font.SourceSans
  777. Close.Text = "X"
  778. Close.TextColor3 = Color3.new(1, 1, 1)
  779. Close.TextSize = 30
  780. Close.MouseButton1Down:connect(function()
  781. OpenFrame.Visible = true
  782. Main.Visible = false
  783. end)
  784.  
  785. JumpHeight.Name = "JumpHeight"
  786. JumpHeight.Parent = Main
  787. JumpHeight.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  788. JumpHeight.BorderSizePixel = 0
  789. JumpHeight.Position = UDim2.new(0.346034855, 0, 0.497876078, 0)
  790. JumpHeight.Size = UDim2.new(0, 64, 0, 38)
  791. JumpHeight.Font = Enum.Font.Cartoon
  792. JumpHeight.Text = "Jump Height"
  793. JumpHeight.TextColor3 = Color3.new(1, 1, 1)
  794. JumpHeight.TextScaled = true
  795. JumpHeight.TextSize = 15
  796. JumpHeight.TextWrapped = true
  797.  
  798. JHT.Name = "JHT"
  799. JHT.Parent = JumpHeight
  800. JHT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  801. JHT.BorderSizePixel = 0
  802. JHT.Position = UDim2.new(1.08955193, 0, 0, 0)
  803. JHT.Size = UDim2.new(0, 67, 0, 38)
  804. JHT.Font = Enum.Font.Cartoon
  805. JHT.Text = "Amount"
  806. JHT.TextColor3 = Color3.new(0, 0, 0)
  807. JHT.TextSize = 14
  808. JHT.TextWrapped = true
  809.  
  810. AutoFarm.Name = "AutoFarm"
  811. AutoFarm.Parent = Main
  812. AutoFarm.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  813. AutoFarm.BorderSizePixel = 0
  814. AutoFarm.Position = UDim2.new(0.0262044966, 0, 0.496676952, 0)
  815. AutoFarm.Size = UDim2.new(0, 126, 0, 38)
  816. AutoFarm.Font = Enum.Font.Cartoon
  817. AutoFarm.Text = "Auto Farm"
  818. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  819. AutoFarm.TextSize = 25
  820.  
  821. Braking.Name = "Braking"
  822. Braking.Parent = Main
  823. Braking.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  824. Braking.BorderSizePixel = 0
  825. Braking.Position = UDim2.new(0.679532647, 0, 0.494278967, 0)
  826. Braking.Size = UDim2.new(0, 67, 0, 38)
  827. Braking.Font = Enum.Font.Cartoon
  828. Braking.Text = "Braking"
  829. Braking.TextColor3 = Color3.new(1, 1, 1)
  830. Braking.TextScaled = true
  831. Braking.TextSize = 23
  832. Braking.TextWrapped = true
  833.  
  834. BrakingT.Name = "BrakingT"
  835. BrakingT.Parent = Braking
  836. BrakingT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  837. BrakingT.BorderSizePixel = 0
  838. BrakingT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  839. BrakingT.Size = UDim2.new(0, 67, 0, 38)
  840. BrakingT.Font = Enum.Font.Cartoon
  841. BrakingT.Text = "Amount"
  842. BrakingT.TextColor3 = Color3.new(0, 0, 0)
  843. BrakingT.TextSize = 14
  844. BrakingT.TextWrapped = true
  845. -- Scripts:
  846.  
  847. function findCar()
  848. local vehicle = workspace.Vehicles:getChildren()
  849. for i=1,#vehicle do
  850. if vehicle[i]:findFirstChild("owner") then
  851. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  852. myCar = vehicle[i]
  853. end
  854. end
  855. end
  856. end
  857.  
  858. AutoFarm.MouseButton1Down:connect(function()
  859. local waitTime = 3 --This will be the time it takes (seconds) until your car resets. See line 37
  860. --Do not change anything below :)
  861. local hint = Instance.new('Hint', Workspace) hint.Text = "Vehicle Simulator Autofarm loading..."
  862. local found = false
  863. local go = true
  864.  
  865. function findVehicle() --Finds your vehicle
  866. while not found do --Loops until your vehicle has been found
  867. local vehicles = Workspace.Vehicles:getChildren()
  868. for i=1,#vehicles do
  869. if vehicles[i]:findFirstChild'owner' then
  870. if vehicles[i].owner.Value == game:GetService'Players'.LocalPlayer.Name then -- Found your vehicle
  871. found = true --Setting found to true so loop breaks
  872. vehicle = vehicles[i] -- Declares vehicle variable to your vehicle
  873. vehStats = vehicle.Handling -- Declares vehStats variable to vehicle stats folder
  874. vehStats.MaxSpeed.Value = 800
  875. vehStats.Torque.Value = 60000
  876. vehStats.SteeringRadiusConstant.Value = 120000000
  877. elseif vehicles[i + 1] == nil and not found then
  878. --Autorespawn would go here
  879. hint.Text = "Please spawn and enter your vehicle!" --Your vehicle does not exist in the Workspace
  880. end
  881. end
  882. end
  883. wait(1) --Waiting before checking again so we don't crash
  884. end
  885. wait(2) --We've found the car. Waiting so the car can be properly placed on the highway
  886. vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  887. end
  888.  
  889. function farm() --This is where the magic happens :)
  890. hint.Text = "Finished loading! Autofarm initialized."
  891. while wait(waitTime) do --Waits x seconds before resetting car
  892. vehicle:SetPrimaryPartCFrame(CFrame.new(-2470,60,777)) --Teleports vehicle to highway
  893. game:GetService'VirtualUser':SetKeyUp("w") --Resets W key
  894. game:GetService'VirtualUser':SetKeyDown("w") --Presses W key to go forward
  895. end
  896. end
  897. findVehicle() --Calls the findVehicle function
  898. while go do
  899. if not pcall(farm()) then --Calls farm function & checks for errors
  900. found = false --If it errors, it sets found to false and continues looking for your vehicle.
  901. findVehicle()
  902. end
  903. end
  904. end)
  905.  
  906. SuperCar.MouseButton1Down:connect(function()
  907. findCar()
  908. myCar.Handling.MaxSpeed.Value = 10000
  909. myCar.Handling.Torque.Value = 55555
  910. myCar.Handling.SteeringRadiusConstant.Value = 15000
  911. myCar.Handling.FrictionRoad.Value = 250
  912. myCar.Handling.Nitro.NitroSpeed.Value = 100000
  913. myCar.Handling.Nitro.NitroForce.Value = 100000
  914. myCar.Handling.Braking.Value = 100000
  915. myCar.Handling.TurboJump.TurboJumpHeight.Value = 25
  916. end)
  917.  
  918. Speed.MouseButton1Down:connect(function()
  919. findCar()
  920. myCar.Handling.MaxSpeed.Value = SpeedBind.Text
  921. myCar.Handling.SteeringRadiusConstant.Value = 15000
  922. end)
  923.  
  924. Torque.MouseButton1Down:connect(function()
  925. findCar()
  926. myCar.Handling.Torque.Value = Torquet.Text
  927. end)
  928.  
  929. NitroSpeed.MouseButton1Down:connect(function()
  930. findCar()
  931. myCar.Handling.Nitro.NitroSpeed.Value = NST.Text
  932. end)
  933.  
  934. NitroForce.MouseButton1Down:connect(function()
  935. findCar()
  936. myCar.Handling.Nitro.NitroForce.Value = NFT.Text
  937. end)
  938.  
  939. JumpHeight.MouseButton1Down:connect(function()
  940. findCar()
  941. myCar.Handling.TurboJump.TurboJumpHeight.Value = JHT.Text
  942. end)
  943.  
  944. Braking.MouseButton1Down:connect(function()
  945. findCar()
  946. myCar.Handling.Braking.Value = BrakingT.Text
  947. end)
  948.  
  949. GiveAllPerks.MouseButton1Down:connect(function()
  950. game:GetService("Players").LocalPlayer.UserId = 1099580
  951. end)
  952.  
  953. CrateESP.MouseButton1Down:connect(function()
  954. local crates = workspace:getChildren()
  955. for i=1,#crates do
  956. if crates[i].ClassName == "Model" then
  957. local crates2 = crates[i]:getChildren()
  958. for i=1,#crates2 do
  959. if crates2[i].ClassName == "Model" then
  960. local crates3 = crates2[i]:getChildren()
  961. for i=1,#crates3 do
  962. if crates3[i].ClassName == "MeshPart" then
  963. if crates3[i]:findFirstChild("Smoke") then
  964. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  965. crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  966. else
  967. local a = Instance.new("BoxHandleAdornment",crates3[i])
  968. a.Size = Vector3.new(10,500,6)
  969. a.SizeRelativeOffset = Vector3.new(0,135,0)
  970. a.Color3 = Color3.fromRGB(0,255,0)
  971. a.Transparency = 0.5
  972. a.AlwaysOnTop = true
  973. a.Adornee = crates3[i]
  974. a.ZIndex = 1
  975. local b = Instance.new("BoxHandleAdornment",crates3[i])
  976. b.Size = Vector3.new(10,4,6)
  977. b.Color3 = Color3.fromRGB(0,0,255)
  978. b.Transparency = 0.3
  979. b.AlwaysOnTop = true
  980. b.Adornee = crates3[i]
  981. b.ZIndex = 1
  982. end
  983. end
  984. end
  985. end
  986. end
  987. end
  988. end
  989. end
  990. end)
  991.  
  992. TptoCrate.MouseButton1Down:connect(function()
  993. local crates = workspace:getChildren()
  994. for i=1,#crates do
  995. if crates[i].ClassName == "Model" then
  996. local crates2 = crates[i]:getChildren()
  997. for i=1,#crates2 do
  998. if crates2[i].ClassName == "Model" then
  999. local crates3 = crates2[i]:getChildren()
  1000. for i=1,#crates3 do
  1001. if crates3[i].ClassName == "MeshPart" then
  1002. if crates3[i]:findFirstChild("Smoke") then
  1003. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  1004. wait()
  1005. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  1006. wait(4)
  1007. end
  1008. end
  1009. end
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end)
  1015.  
  1016. TeleportToCar.MouseButton1Down:connect(function()
  1017. findCar()
  1018. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  1019. end)
  1020.  
  1021.  
  1022. --] Updated 02.02.2019
  1023. --] Added Braking
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement