WeAreDevNetPastebin

Vehicle simulator hack

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