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