BankaLanka3

ROBLOX VEHICLE SIMULATOR SCRIPT

Dec 9th, 2021
2,206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.91 KB | None | 0 0
  1. thanks for sub <3
  2. -- Made by AndreKing2017
  3. -- Roblox Username AndreKing2019
  4. -- Farewell Infortality.
  5. -- Version: 2.82
  6. -- Instances:
  7. local VehicleSimulatorFuhaxor = Instance.new("ScreenGui")
  8. local OpenFrame = Instance.new("Frame")
  9. local Open = Instance.new("TextButton")
  10. local Main = Instance.new("Frame")
  11. local BeautyA = Instance.new("Frame")
  12. local Name = Instance.new("TextLabel")
  13. local BeautyB = Instance.new("Frame")
  14. local Credit = Instance.new("TextLabel")
  15. local Torque = Instance.new("TextButton")
  16. local Torquet = Instance.new("TextBox")
  17. local TptoCrate = Instance.new("TextButton")
  18. local NitroSpeed = Instance.new("TextButton")
  19. local NST = Instance.new("TextBox")
  20. local TeleportToCar = Instance.new("TextButton")
  21. local NitroForce = Instance.new("TextButton")
  22. local NFT = Instance.new("TextBox")
  23. local Speed = Instance.new("TextButton")
  24. local SpeedBind = Instance.new("TextBox")
  25. local CrateESP = Instance.new("TextButton")
  26. local SuperCar = Instance.new("TextButton")
  27. local GiveAllPerks = Instance.new("TextButton")
  28. local Close = Instance.new("TextButton")
  29. local JumpHeight = Instance.new("TextButton")
  30. local JHT = Instance.new("TextBox")
  31. local AutoFarm = Instance.new("TextButton")
  32. local Braking = Instance.new("TextButton")
  33. local BrakingT = Instance.new("TextBox")
  34. --Properties:
  35. VehicleSimulatorFuhaxor.Name = "Vehicle Simulator Fuhaxor"
  36. VehicleSimulatorFuhaxor.Parent = game.CoreGui
  37. VehicleSimulatorFuhaxor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  38.  
  39. OpenFrame.Name = "OpenFrame"
  40. OpenFrame.Parent = VehicleSimulatorFuhaxor
  41. OpenFrame.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  42. OpenFrame.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  43. OpenFrame.Position = UDim2.new(0, 0, 0.47716558, 0)
  44. OpenFrame.Size = UDim2.new(0, 69, 0, 27)
  45. Open.MouseButton1Down:connect(function()
  46. Main.Visible = true
  47. OpenFrame.Visible = false
  48. end)
  49.  
  50. Open.Name = "Open"
  51. Open.Parent = OpenFrame
  52. Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  53. Open.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  54. Open.Size = UDim2.new(0, 65, 0, 25)
  55. Open.Font = Enum.Font.Cartoon
  56. Open.Text = "Open"
  57. Open.TextColor3 = Color3.new(1, 1, 1)
  58. Open.TextSize = 30
  59.  
  60. Main.Name = "Main"
  61. Main.Parent = VehicleSimulatorFuhaxor
  62. Main.Active = true
  63. Main.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  64. Main.BorderSizePixel = 0
  65. Main.Position = UDim2.new(0.376574308, 0, 0.178571433, 0)
  66. Main.Size = UDim2.new(0, 439, 0, 278)
  67. Main.Visible = false
  68. Main.Draggable = true
  69.  
  70. BeautyA.Name = "BeautyA"
  71. BeautyA.Parent = Main
  72. BeautyA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  73. BeautyA.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  74. BeautyA.BorderSizePixel = 0
  75. BeautyA.Size = UDim2.new(0, 439, 0, 25)
  76.  
  77. Name.Name = "Name"
  78. Name.Parent = BeautyA
  79. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  80. Name.BackgroundTransparency = 1
  81. Name.BorderSizePixel = 0
  82. Name.Position = UDim2.new(0.316628695, 0, 0, 0)
  83. Name.Size = UDim2.new(0, 154, 0, 25)
  84. Name.Font = Enum.Font.Cartoon
  85. Name.Text = "Vehicle Simulator Succ "
  86. Name.TextColor3 = Color3.new(1, 1, 1)
  87. Name.TextSize = 20
  88.  
  89. BeautyB.Name = "BeautyB"
  90. BeautyB.Parent = Main
  91. BeautyB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  92. BeautyB.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  93. BeautyB.BorderSizePixel = 0
  94. BeautyB.Position = UDim2.new(0, 0, 0.91366905, 0)
  95. BeautyB.Size = UDim2.new(0, 439, 0, 24)
  96.  
  97. Credit.Name = "Credit"
  98. Credit.Parent = BeautyB
  99. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  100. Credit.BackgroundTransparency = 1
  101. Credit.BorderSizePixel = 0
  102. Credit.Size = UDim2.new(0, 439, 0, 24)
  103. Credit.Font = Enum.Font.Cartoon
  104. Credit.Text = "Gui Made By Duky #4715 , Scripts Made By someone"
  105. Credit.TextColor3 = Color3.new(1, 1, 1)
  106. Credit.TextSize = 16
  107.  
  108. Torque.Name = "Torque"
  109. Torque.Parent = Main
  110. Torque.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  111. Torque.BorderSizePixel = 0
  112. Torque.Position = UDim2.new(0.679532647, 0, 0.169338807, 0)
  113. Torque.Size = UDim2.new(0, 67, 0, 38)
  114. Torque.Font = Enum.Font.Cartoon
  115. Torque.Text = "Torque"
  116. Torque.TextColor3 = Color3.new(1, 1, 1)
  117. Torque.TextSize = 25
  118.  
  119. Torquet.Name = "Torquet"
  120. Torquet.Parent = Torque
  121. Torquet.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  122. Torquet.BorderSizePixel = 0
  123. Torquet.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  124. Torquet.Size = UDim2.new(0, 67, 0, 38)
  125. Torquet.Font = Enum.Font.Cartoon
  126. Torquet.Text = "Amount"
  127. Torquet.TextColor3 = Color3.new(0, 0, 0)
  128. Torquet.TextSize = 14
  129. Torquet.TextWrapped = true
  130.  
  131. TptoCrate.Name = "TptoCrate"
  132. TptoCrate.Parent = Main
  133. TptoCrate.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  134. TptoCrate.BorderSizePixel = 0
  135. TptoCrate.Position = UDim2.new(0.0262044966, 0, 0.165741712, 0)
  136. TptoCrate.Size = UDim2.new(0, 126, 0, 38)
  137. TptoCrate.Font = Enum.Font.Cartoon
  138. TptoCrate.Text = "Tp to Crate"
  139. TptoCrate.TextColor3 = Color3.new(1, 1, 1)
  140. TptoCrate.TextSize = 25
  141.  
  142. NitroSpeed.Name = "NitroSpeed"
  143. NitroSpeed.Parent = Main
  144. NitroSpeed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  145. NitroSpeed.BorderSizePixel = 0
  146. NitroSpeed.Position = UDim2.new(0.346034855, 0, 0.169338807, 0)
  147. NitroSpeed.Size = UDim2.new(0, 64, 0, 38)
  148. NitroSpeed.Font = Enum.Font.Cartoon
  149. NitroSpeed.Text = "Nitro Speed"
  150. NitroSpeed.TextColor3 = Color3.new(1, 1, 1)
  151. NitroSpeed.TextScaled = true
  152. NitroSpeed.TextSize = 13
  153. NitroSpeed.TextWrapped = true
  154.  
  155. NST.Name = "NST"
  156. NST.Parent = NitroSpeed
  157. NST.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  158. NST.BorderSizePixel = 0
  159. NST.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  160. NST.Size = UDim2.new(0, 67, 0, 38)
  161. NST.Font = Enum.Font.Cartoon
  162. NST.Text = "Amount"
  163. NST.TextColor3 = Color3.new(0, 0, 0)
  164. NST.TextSize = 14
  165. NST.TextWrapped = true
  166.  
  167. TeleportToCar.Name = "TeleportToCar"
  168. TeleportToCar.Parent = Main
  169. TeleportToCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  170. TeleportToCar.BorderSizePixel = 0
  171. TeleportToCar.Position = UDim2.new(0.026204519, 0, 0.332408428, 0)
  172. TeleportToCar.Size = UDim2.new(0, 126, 0, 33)
  173. TeleportToCar.Font = Enum.Font.Cartoon
  174. TeleportToCar.Text = "Teleport To Car"
  175. TeleportToCar.TextColor3 = Color3.new(1, 1, 1)
  176. TeleportToCar.TextScaled = true
  177. TeleportToCar.TextSize = 20
  178. TeleportToCar.TextWrapped = true
  179.  
  180. NitroForce.Name = "NitroForce"
  181. NitroForce.Parent = Main
  182. NitroForce.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  183. NitroForce.BorderSizePixel = 0
  184. NitroForce.Position = UDim2.new(0.346034855, 0, 0.336005569, 0)
  185. NitroForce.Size = UDim2.new(0, 64, 0, 38)
  186. NitroForce.Font = Enum.Font.Cartoon
  187. NitroForce.Text = "Nitro Force"
  188. NitroForce.TextColor3 = Color3.new(1, 1, 1)
  189. NitroForce.TextSize = 17
  190. NitroForce.TextWrapped = true
  191.  
  192. NFT.Name = "NFT"
  193. NFT.Parent = NitroForce
  194. NFT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  195. NFT.BorderSizePixel = 0
  196. NFT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  197. NFT.Size = UDim2.new(0, 67, 0, 38)
  198. NFT.Font = Enum.Font.Cartoon
  199. NFT.Text = "Amount"
  200. NFT.TextColor3 = Color3.new(0, 0, 0)
  201. NFT.TextSize = 14
  202. NFT.TextWrapped = true
  203.  
  204. Speed.Name = "Speed"
  205. Speed.Parent = Main
  206. Speed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  207. Speed.BorderSizePixel = 0
  208. Speed.Position = UDim2.new(0.679532647, 0, 0.336005569, 0)
  209. Speed.Size = UDim2.new(0, 67, 0, 38)
  210. Speed.Font = Enum.Font.Cartoon
  211. Speed.Text = "Speed"
  212. Speed.TextColor3 = Color3.new(1, 1, 1)
  213. Speed.TextSize = 25
  214.  
  215. SpeedBind.Name = "SpeedBind"
  216. SpeedBind.Parent = Speed
  217. SpeedBind.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  218. SpeedBind.BorderSizePixel = 0
  219. SpeedBind.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  220. SpeedBind.Size = UDim2.new(0, 67, 0, 38)
  221. SpeedBind.Font = Enum.Font.Cartoon
  222. SpeedBind.Text = "Amount"
  223. SpeedBind.TextColor3 = Color3.new(0, 0, 0)
  224. SpeedBind.TextSize = 14
  225. SpeedBind.TextWrapped = true
  226.  
  227. CrateESP.Name = "CrateESP"
  228. CrateESP.Parent = Main
  229. CrateESP.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  230. CrateESP.BorderSizePixel = 0
  231. CrateESP.Position = UDim2.new(0.0262044966, 0, 0.748543978, 0)
  232. CrateESP.Size = UDim2.new(0, 126, 0, 38)
  233. CrateESP.Font = Enum.Font.Cartoon
  234. CrateESP.Text = "Crate ESP"
  235. CrateESP.TextColor3 = Color3.new(1, 1, 1)
  236. CrateESP.TextSize = 25
  237.  
  238. SuperCar.Name = "SuperCar"
  239. SuperCar.Parent = Main
  240. SuperCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  241. SuperCar.BorderSizePixel = 0
  242. SuperCar.Position = UDim2.new(0.355146468, 0, 0.748544037, 0)
  243. SuperCar.Size = UDim2.new(0, 126, 0, 38)
  244. SuperCar.Font = Enum.Font.Cartoon
  245. SuperCar.Text = "Super Car"
  246. SuperCar.TextColor3 = Color3.new(1, 1, 1)
  247. SuperCar.TextSize = 25
  248.  
  249. GiveAllPerks.Name = "GiveAllPerks"
  250. GiveAllPerks.Parent = Main
  251. GiveAllPerks.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  252. GiveAllPerks.BorderSizePixel = 0
  253. GiveAllPerks.Position = UDim2.new(0.695478082, 0, 0.748543978, 0)
  254. GiveAllPerks.Size = UDim2.new(0, 126, 0, 38)
  255. GiveAllPerks.Font = Enum.Font.Cartoon
  256. GiveAllPerks.Text = "Give All Perks"
  257. GiveAllPerks.TextColor3 = Color3.new(1, 1, 1)
  258. GiveAllPerks.TextSize = 20
  259.  
  260. Close.Name = "Close"
  261. Close.Parent = Main
  262. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  263. Close.BackgroundTransparency = 1
  264. Close.BorderSizePixel = 0
  265. Close.Position = UDim2.new(0.935208917, 0, -0.00128471851, 0)
  266. Close.Size = UDim2.new(0, 28, 0, 25)
  267. Close.Font = Enum.Font.SourceSans
  268. Close.Text = "X"
  269. Close.TextColor3 = Color3.new(1, 1, 1)
  270. Close.TextSize = 30
  271. Close.MouseButton1Down:connect(function()
  272. OpenFrame.Visible = true
  273. Main.Visible = false
  274. end)
  275.  
  276. JumpHeight.Name = "JumpHeight"
  277. JumpHeight.Parent = Main
  278. JumpHeight.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  279. JumpHeight.BorderSizePixel = 0
  280. JumpHeight.Position = UDim2.new(0.346034855, 0, 0.497876078, 0)
  281. JumpHeight.Size = UDim2.new(0, 64, 0, 38)
  282. JumpHeight.Font = Enum.Font.Cartoon
  283. JumpHeight.Text = "Jump Height"
  284. JumpHeight.TextColor3 = Color3.new(1, 1, 1)
  285. JumpHeight.TextScaled = true
  286. JumpHeight.TextSize = 15
  287. JumpHeight.TextWrapped = true
  288.  
  289. JHT.Name = "JHT"
  290. JHT.Parent = JumpHeight
  291. JHT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  292. JHT.BorderSizePixel = 0
  293. JHT.Position = UDim2.new(1.08955193, 0, 0, 0)
  294. JHT.Size = UDim2.new(0, 67, 0, 38)
  295. JHT.Font = Enum.Font.Cartoon
  296. JHT.Text = "Amount"
  297. JHT.TextColor3 = Color3.new(0, 0, 0)
  298. JHT.TextSize = 14
  299. JHT.TextWrapped = true
  300.  
  301. AutoFarm.Name = "AutoFarm"
  302. AutoFarm.Parent = Main
  303. AutoFarm.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  304. AutoFarm.BorderSizePixel = 0
  305. AutoFarm.Position = UDim2.new(0.0262044966, 0, 0.496676952, 0)
  306. AutoFarm.Size = UDim2.new(0, 126, 0, 38)
  307. AutoFarm.Font = Enum.Font.Cartoon
  308. AutoFarm.Text = "Auto Farm"
  309. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  310. AutoFarm.TextSize = 25
  311.  
  312. Braking.Name = "Braking"
  313. Braking.Parent = Main
  314. Braking.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  315. Braking.BorderSizePixel = 0
  316. Braking.Position = UDim2.new(0.679532647, 0, 0.494278967, 0)
  317. Braking.Size = UDim2.new(0, 67, 0, 38)
  318. Braking.Font = Enum.Font.Cartoon
  319. Braking.Text = "Braking"
  320. Braking.TextColor3 = Color3.new(1, 1, 1)
  321. Braking.TextScaled = true
  322. Braking.TextSize = 23
  323. Braking.TextWrapped = true
  324.  
  325. BrakingT.Name = "BrakingT"
  326. BrakingT.Parent = Braking
  327. BrakingT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  328. BrakingT.BorderSizePixel = 0
  329. BrakingT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
  330. BrakingT.Size = UDim2.new(0, 67, 0, 38)
  331. BrakingT.Font = Enum.Font.Cartoon
  332. BrakingT.Text = "Amount"
  333. BrakingT.TextColor3 = Color3.new(0, 0, 0)
  334. BrakingT.TextSize = 14
  335. BrakingT.TextWrapped = true
  336. -- Scripts:
  337.  
  338. function findCar()
  339. local vehicle = workspace.Vehicles:getChildren()
  340. for i=1,#vehicle do
  341. if vehicle[i]:findFirstChild("owner") then
  342. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  343. myCar = vehicle[i]
  344. end
  345. end
  346. end
  347. end
  348.  
  349. AutoFarm.MouseButton1Down:connect(function()
  350. local waitTime = 3 --This will be the time it takes (seconds) until your car resets. See line 37
  351. --Do not change anything below :)
  352. local hint = Instance.new('Hint', Workspace) hint.Text = "Vehicle Simulator Autofarm loading..."
  353. local found = false
  354. local go = true
  355.  
  356. function findVehicle() --Finds your vehicle
  357. while not found do --Loops until your vehicle has been found
  358. local vehicles = Workspace.Vehicles:getChildren()
  359. for i=1,#vehicles do
  360. if vehicles[i]:findFirstChild'owner' then
  361. if vehicles[i].owner.Value == game:GetService'Players'.LocalPlayer.Name then -- Found your vehicle
  362. found = true --Setting found to true so loop breaks
  363. vehicle = vehicles[i] -- Declares vehicle variable to your vehicle
  364. vehStats = vehicle.Handling -- Declares vehStats variable to vehicle stats folder
  365. vehStats.MaxSpeed.Value = 800
  366. vehStats.Torque.Value = 60000
  367. vehStats.SteeringRadiusConstant.Value = 120000000
  368. elseif vehicles[i + 1] == nil and not found then
  369. --Autorespawn would go here
  370. hint.Text = "Please spawn and enter your vehicle!" --Your vehicle does not exist in the Workspace
  371. end
  372. end
  373. end
  374. wait(1) --Waiting before checking again so we don't crash
  375. end
  376. wait(2) --We've found the car. Waiting so the car can be properly placed on the highway
  377. vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  378. end
  379.  
  380. function farm() --This is where the magic happens :)
  381. hint.Text = "Finished loading! Autofarm initialized."
  382. while wait(waitTime) do --Waits x seconds before resetting car
  383. vehicle:SetPrimaryPartCFrame(CFrame.new(-2470,60,777)) --Teleports vehicle to highway
  384. game:GetService'VirtualUser':SetKeyUp("w") --Resets W key
  385. game:GetService'VirtualUser':SetKeyDown("w") --Presses W key to go forward
  386. end
  387. end
  388. findVehicle() --Calls the findVehicle function
  389. while go do
  390. if not pcall(farm()) then --Calls farm function & checks for errors
  391. found = false --If it errors, it sets found to false and continues looking for your vehicle.
  392. findVehicle()
  393. end
  394. end
  395. end)
  396.  
  397. SuperCar.MouseButton1Down:connect(function()
  398. findCar()
  399. myCar.Handling.MaxSpeed.Value = 10000
  400. myCar.Handling.Torque.Value = 55555
  401. myCar.Handling.SteeringRadiusConstant.Value = 15000
  402. myCar.Handling.FrictionRoad.Value = 250
  403. myCar.Handling.Nitro.NitroSpeed.Value = 100000
  404. myCar.Handling.Nitro.NitroForce.Value = 100000
  405. myCar.Handling.Braking.Value = 100000
  406. myCar.Handling.TurboJump.TurboJumpHeight.Value = 25
  407. end)
  408.  
  409. Speed.MouseButton1Down:connect(function()
  410. findCar()
  411. myCar.Handling.MaxSpeed.Value = SpeedBind.Text
  412. myCar.Handling.SteeringRadiusConstant.Value = 15000
  413. end)
  414.  
  415. Torque.MouseButton1Down:connect(function()
  416. findCar()
  417. myCar.Handling.Torque.Value = Torquet.Text
  418. end)
  419.  
  420. NitroSpeed.MouseButton1Down:connect(function()
  421. findCar()
  422. myCar.Handling.Nitro.NitroSpeed.Value = NST.Text
  423. end)
  424.  
  425. NitroForce.MouseButton1Down:connect(function()
  426. findCar()
  427. myCar.Handling.Nitro.NitroForce.Value = NFT.Text
  428. end)
  429.  
  430. JumpHeight.MouseButton1Down:connect(function()
  431. findCar()
  432. myCar.Handling.TurboJump.TurboJumpHeight.Value = JHT.Text
  433. end)
  434.  
  435. Braking.MouseButton1Down:connect(function()
  436. findCar()
  437. myCar.Handling.Braking.Value = BrakingT.Text
  438. end)
  439.  
  440. GiveAllPerks.MouseButton1Down:connect(function()
  441. game:GetService("Players").LocalPlayer.UserId = 1099580
  442. end)
  443.  
  444. CrateESP.MouseButton1Down:connect(function()
  445. local crates = workspace:getChildren()
  446. for i=1,#crates do
  447. if crates[i].ClassName == "Model" then
  448. local crates2 = crates[i]:getChildren()
  449. for i=1,#crates2 do
  450. if crates2[i].ClassName == "Model" then
  451. local crates3 = crates2[i]:getChildren()
  452. for i=1,#crates3 do
  453. if crates3[i].ClassName == "MeshPart" then
  454. if crates3[i]:findFirstChild("Smoke") then
  455. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  456. crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  457. else
  458. local a = Instance.new("BoxHandleAdornment",crates3[i])
  459. a.Size = Vector3.new(10,500,6)
  460. a.SizeRelativeOffset = Vector3.new(0,135,0)
  461. a.Color3 = Color3.fromRGB(0,255,0)
  462. a.Transparency = 0.5
  463. a.AlwaysOnTop = true
  464. a.Adornee = crates3[i]
  465. a.ZIndex = 1
  466. local b = Instance.new("BoxHandleAdornment",crates3[i])
  467. b.Size = Vector3.new(10,4,6)
  468. b.Color3 = Color3.fromRGB(0,0,255)
  469. b.Transparency = 0.3
  470. b.AlwaysOnTop = true
  471. b.Adornee = crates3[i]
  472. b.ZIndex = 1
  473. end
  474. end
  475. end
  476. end
  477. end
  478. end
  479. end
  480. end
  481. end)
  482.  
  483. TptoCrate.MouseButton1Down:connect(function()
  484. local crates = workspace:getChildren()
  485. for i=1,#crates do
  486. if crates[i].ClassName == "Model" then
  487. local crates2 = crates[i]:getChildren()
  488. for i=1,#crates2 do
  489. if crates2[i].ClassName == "Model" then
  490. local crates3 = crates2[i]:getChildren()
  491. for i=1,#crates3 do
  492. if crates3[i].ClassName == "MeshPart" then
  493. if crates3[i]:findFirstChild("Smoke") then
  494. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  495. wait()
  496. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  497. wait(4)
  498. end
  499. end
  500. end
  501. end
  502. end
  503. end
  504. end
  505. end)
  506.  
  507. TeleportToCar.MouseButton1Down:connect(function()
  508. findCar()
  509. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  510. end)
  511.  
  512.  
  513. --] Updated 02.02.2019
  514. --] Added Braking
Advertisement
Add Comment
Please, Sign In to add comment