Advertisement
Guest User

Veichle Simulator Script by lostkev(notrlly)

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