SHARE
TWEET

Vehicle Simulator Script

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