AimbotMan2022

Vehicle Simulator GUI

Nov 29th, 2020
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.87 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
Add Comment
Please, Sign In to add comment