Advertisement
Dominator44444

Vehicle Simulator GUI

Sep 3rd, 2020
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.59 KB | None | 0 0
  1. -- Made by Tokumei/Aresuu
  2. -- Instances:
  3. local VehicleSimulator = Instance.new("ScreenGui")
  4. local VSV1 = Instance.new("Frame")
  5. local GiveAllPerks = Instance.new("TextButton")
  6. local SuperCar = Instance.new("TextButton")
  7. local CrateESP = Instance.new("TextButton")
  8. local Speed = Instance.new("TextButton")
  9. local SpeedBind = Instance.new("TextBox")
  10. local Torque = Instance.new("TextButton")
  11. local Torquet = Instance.new("TextBox")
  12. local NitroSpeed = Instance.new("TextButton")
  13. local NST = Instance.new("TextBox")
  14. local Title = Instance.new("TextLabel")
  15. local TeleportLT = Instance.new("TextButton")
  16. local TeleportToCar = Instance.new("TextButton")
  17. local MadebyTokumeiAresuu = Instance.new("TextLabel")
  18. local CreditOwners = Instance.new("TextLabel")
  19. local NitroForce = Instance.new("TextButton")
  20. local NFT = Instance.new("TextBox")
  21. local JumpHeight = Instance.new("TextButton")
  22. local JHT = Instance.new("TextBox")
  23. local TptoCrate = Instance.new("TextButton")
  24. local Open = Instance.new("TextButton")
  25. local Close = Instance.new("TextButton")
  26. --Properties:
  27. VehicleSimulator.Name = "Vehicle Simulator"
  28. VehicleSimulator.Parent = game.CoreGui
  29.  
  30. VSV1.Name = "VSV1"
  31. VSV1.Parent = VehicleSimulator
  32. VSV1.Active = true
  33. VSV1.BackgroundColor3 = Color3.new(0, 0, 0)
  34. VSV1.BackgroundTransparency = 0.10000000149012
  35. VSV1.BorderColor3 = Color3.new(0.501961, 0, 0)
  36. VSV1.BorderSizePixel = 6
  37. VSV1.Position = UDim2.new(0.155411661, 0, 0.117529884, 0)
  38. VSV1.Size = UDim2.new(0, 325, 0, 332)
  39. VSV1.Draggable = true
  40. VSV1.Visible = true
  41.  
  42. GiveAllPerks.Name = "Give All Perks"
  43. GiveAllPerks.Parent = VSV1
  44. GiveAllPerks.BackgroundColor3 = Color3.new(1, 0, 0.4)
  45. GiveAllPerks.BackgroundTransparency = 0.20000000298023
  46. GiveAllPerks.BorderColor3 = Color3.new(0, 0, 0)
  47. GiveAllPerks.BorderSizePixel = 0
  48. GiveAllPerks.Position = UDim2.new(0, 0, 0.777108431, 0)
  49. GiveAllPerks.Size = UDim2.new(0, 148, 0, 36)
  50. GiveAllPerks.Font = Enum.Font.Cartoon
  51. GiveAllPerks.Text = "Give All Perks"
  52. GiveAllPerks.TextColor3 = Color3.new(0, 0, 0)
  53. GiveAllPerks.TextScaled = true
  54. GiveAllPerks.TextSize = 14
  55. GiveAllPerks.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  56. GiveAllPerks.TextWrapped = true
  57.  
  58. SuperCar.Name = "Super Car"
  59. SuperCar.Parent = VSV1
  60. SuperCar.BackgroundColor3 = Color3.new(1, 0, 0.4)
  61. SuperCar.BackgroundTransparency = 0.20000000298023
  62. SuperCar.BorderColor3 = Color3.new(0, 0, 0)
  63. SuperCar.BorderSizePixel = 0
  64. SuperCar.Position = UDim2.new(0.464970767, 0, 0.777963579, 0)
  65. SuperCar.Size = UDim2.new(0, 174, 0, 36)
  66. SuperCar.Font = Enum.Font.Cartoon
  67. SuperCar.Text = "Super Car "
  68. SuperCar.TextColor3 = Color3.new(0, 0, 0)
  69. SuperCar.TextScaled = true
  70. SuperCar.TextSize = 14
  71. SuperCar.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  72. SuperCar.TextWrapped = true
  73.  
  74. CrateESP.Name = "Crate ESP"
  75. CrateESP.Parent = VSV1
  76. CrateESP.BackgroundColor3 = Color3.new(1, 0, 0.4)
  77. CrateESP.BackgroundTransparency = 0.20000000298023
  78. CrateESP.BorderColor3 = Color3.new(0, 0, 0)
  79. CrateESP.BorderSizePixel = 0
  80. CrateESP.Position = UDim2.new(0, 0, 0.654845238, 0)
  81. CrateESP.Size = UDim2.new(0, 148, 0, 41)
  82. CrateESP.Font = Enum.Font.Cartoon
  83. CrateESP.Text = "Crate ESP"
  84. CrateESP.TextColor3 = Color3.new(0, 0, 0)
  85. CrateESP.TextScaled = true
  86. CrateESP.TextSize = 14
  87. CrateESP.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  88. CrateESP.TextWrapped = true
  89.  
  90. Speed.Name = "Speed"
  91. Speed.Parent = VSV1
  92. Speed.BackgroundColor3 = Color3.new(1, 0, 0.4)
  93. Speed.BackgroundTransparency = 0.20000000298023
  94. Speed.BorderColor3 = Color3.new(0, 0, 0)
  95. Speed.BorderSizePixel = 0
  96. Speed.Position = UDim2.new(0.0182370823, 0, 0.0913978517, 0)
  97. Speed.Size = UDim2.new(0, 148, 0, 26)
  98. Speed.Font = Enum.Font.Cartoon
  99. Speed.Text = "Speed"
  100. Speed.TextColor3 = Color3.new(0, 0, 0)
  101. Speed.TextScaled = true
  102. Speed.TextSize = 14
  103. Speed.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  104. Speed.TextWrapped = true
  105.  
  106. SpeedBind.Name = "SpeedBind"
  107. SpeedBind.Parent = Speed
  108. SpeedBind.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  109. SpeedBind.BorderColor3 = Color3.new(0, 0, 0)
  110. SpeedBind.BorderSizePixel = 2
  111. SpeedBind.Position = UDim2.new(1.07476318, 0, 0, 0)
  112. SpeedBind.Size = UDim2.new(0, 151, 0, 26)
  113. SpeedBind.Font = Enum.Font.Cartoon
  114. SpeedBind.Text = "Amount"
  115. SpeedBind.TextColor3 = Color3.new(0, 0, 0)
  116. SpeedBind.TextScaled = true
  117. SpeedBind.TextSize = 14
  118. SpeedBind.TextWrapped = true
  119.  
  120. Torque.Name = "Torque"
  121. Torque.Parent = VSV1
  122. Torque.BackgroundColor3 = Color3.new(1, 0, 0.4)
  123. Torque.BackgroundTransparency = 0.20000000298023
  124. Torque.BorderColor3 = Color3.new(0, 0, 0)
  125. Torque.BorderSizePixel = 0
  126. Torque.Position = UDim2.new(0.0182370823, 0, 0.16731441, 0)
  127. Torque.Size = UDim2.new(0, 148, 0, 26)
  128. Torque.Font = Enum.Font.Cartoon
  129. Torque.Text = "Torque"
  130. Torque.TextColor3 = Color3.new(0, 0, 0)
  131. Torque.TextScaled = true
  132. Torque.TextSize = 14
  133. Torque.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  134. Torque.TextWrapped = true
  135.  
  136. Torquet.Name = "Torquet"
  137. Torquet.Parent = Torque
  138. Torquet.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  139. Torquet.BorderColor3 = Color3.new(0, 0, 0)
  140. Torquet.BorderSizePixel = 2
  141. Torquet.Position = UDim2.new(1.07476318, 0, 0, 0)
  142. Torquet.Size = UDim2.new(0, 151, 0, 26)
  143. Torquet.Font = Enum.Font.Cartoon
  144. Torquet.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  145. Torquet.Text = "Amount"
  146. Torquet.TextColor3 = Color3.new(0, 0, 0)
  147. Torquet.TextScaled = true
  148. Torquet.TextSize = 14
  149. Torquet.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  150. Torquet.TextWrapped = true
  151.  
  152. NitroSpeed.Name = "Nitro Speed"
  153. NitroSpeed.Parent = VSV1
  154. NitroSpeed.BackgroundColor3 = Color3.new(1, 0, 0.4)
  155. NitroSpeed.BackgroundTransparency = 0.20000000298023
  156. NitroSpeed.BorderColor3 = Color3.new(0, 0, 0)
  157. NitroSpeed.BorderSizePixel = 0
  158. NitroSpeed.Position = UDim2.new(0.0182370823, 0, 0.246243045, 0)
  159. NitroSpeed.Size = UDim2.new(0, 148, 0, 26)
  160. NitroSpeed.Font = Enum.Font.Cartoon
  161. NitroSpeed.Text = "Nitro Speed"
  162. NitroSpeed.TextColor3 = Color3.new(0, 0, 0)
  163. NitroSpeed.TextScaled = true
  164. NitroSpeed.TextSize = 14
  165. NitroSpeed.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  166. NitroSpeed.TextWrapped = true
  167.  
  168. NST.Name = "NST"
  169. NST.Parent = NitroSpeed
  170. NST.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  171. NST.BorderColor3 = Color3.new(0, 0, 0)
  172. NST.BorderSizePixel = 2
  173. NST.Position = UDim2.new(1.07476318, 0, 0, 0)
  174. NST.Size = UDim2.new(0, 151, 0, 26)
  175. NST.Font = Enum.Font.Cartoon
  176. NST.Text = "Amount"
  177. NST.TextColor3 = Color3.new(0, 0, 0)
  178. NST.TextScaled = true
  179. NST.TextSize = 14
  180. NST.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  181. NST.TextWrapped = true
  182.  
  183. Title.Name = "Title"
  184. Title.Parent = VSV1
  185. Title.BackgroundColor3 = Color3.new(0.901961, 0.0980392, 0.419608)
  186. Title.BorderColor3 = Color3.new(0.0117647, 0, 0)
  187. Title.BorderSizePixel = 0
  188. Title.Size = UDim2.new(0, 329, 0, 22)
  189. Title.Font = Enum.Font.Cartoon
  190. Title.Text = "Vehicle Simulator"
  191. Title.TextColor3 = Color3.new(0, 0, 0)
  192. Title.TextScaled = true
  193. Title.TextSize = 16
  194. Title.TextWrapped = true
  195.  
  196. TeleportLT.Name = "TeleportLT"
  197. TeleportLT.Parent = VSV1
  198. TeleportLT.BackgroundColor3 = Color3.new(1, 0, 0.4)
  199. TeleportLT.BackgroundTransparency = 0.20000000298023
  200. TeleportLT.BorderColor3 = Color3.new(0, 0, 0)
  201. TeleportLT.BorderSizePixel = 0
  202. TeleportLT.Position = UDim2.new(0.464970767, 0, 0.529569924, 0)
  203. TeleportLT.Size = UDim2.new(0, 174, 0, 41)
  204. TeleportLT.Font = Enum.Font.Cartoon
  205. TeleportLT.Text = "Teleport to Long Tunnel"
  206. TeleportLT.TextColor3 = Color3.new(0, 0, 0)
  207. TeleportLT.TextScaled = true
  208. TeleportLT.TextSize = 14
  209. TeleportLT.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  210. TeleportLT.TextWrapped = true
  211.  
  212. TeleportToCar.Name = "Teleport To Car"
  213. TeleportToCar.Parent = VSV1
  214. TeleportToCar.BackgroundColor3 = Color3.new(1, 0, 0.4)
  215. TeleportToCar.BackgroundTransparency = 0.20000000298023
  216. TeleportToCar.BorderColor3 = Color3.new(0, 0, 0)
  217. TeleportToCar.BorderSizePixel = 0
  218. TeleportToCar.Position = UDim2.new(0, 0, 0.529569924, 0)
  219. TeleportToCar.Size = UDim2.new(0, 148, 0, 41)
  220. TeleportToCar.Font = Enum.Font.Cartoon
  221. TeleportToCar.Text = "Teleport To Car"
  222. TeleportToCar.TextColor3 = Color3.new(0, 0, 0)
  223. TeleportToCar.TextScaled = true
  224. TeleportToCar.TextSize = 14
  225. TeleportToCar.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  226. TeleportToCar.TextWrapped = true
  227.  
  228. MadebyTokumeiAresuu.Name = "Made by Tokumei/Aresuu"
  229. MadebyTokumeiAresuu.Parent = VSV1
  230. MadebyTokumeiAresuu.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  231. MadebyTokumeiAresuu.BorderColor3 = Color3.new(0, 0, 0)
  232. MadebyTokumeiAresuu.BorderSizePixel = 0
  233. MadebyTokumeiAresuu.Position = UDim2.new(0, 0, 0.909638584, 0)
  234. MadebyTokumeiAresuu.Size = UDim2.new(0, 144, 0, 30)
  235. MadebyTokumeiAresuu.Font = Enum.Font.Cartoon
  236. MadebyTokumeiAresuu.Text = "Made by Tokumei/Aresuu"
  237. MadebyTokumeiAresuu.TextColor3 = Color3.new(0, 0, 0)
  238. MadebyTokumeiAresuu.TextSize = 14
  239.  
  240. CreditOwners.Name = "Credit Owners"
  241. CreditOwners.Parent = MadebyTokumeiAresuu
  242. CreditOwners.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  243. CreditOwners.BorderColor3 = Color3.new(0, 0, 0)
  244. CreditOwners.BorderSizePixel = 0
  245. CreditOwners.Position = UDim2.new(1.0625, 0, 0, 0)
  246. CreditOwners.Size = UDim2.new(0, 172, 0, 30)
  247. CreditOwners.Font = Enum.Font.Cartoon
  248. CreditOwners.Text = "Credit to LeviTheOtaku for the Scripts"
  249. CreditOwners.TextColor3 = Color3.new(0, 0, 0)
  250. CreditOwners.TextScaled = true
  251. CreditOwners.TextSize = 14
  252. CreditOwners.TextWrapped = true
  253.  
  254. NitroForce.Name = "Nitro Force"
  255. NitroForce.Parent = VSV1
  256. NitroForce.BackgroundColor3 = Color3.new(1, 0, 0.4)
  257. NitroForce.BackgroundTransparency = 0.20000000298023
  258. NitroForce.BorderColor3 = Color3.new(0, 0, 0)
  259. NitroForce.BorderSizePixel = 0
  260. NitroForce.Position = UDim2.new(0.0182370823, 0, 0.325171649, 0)
  261. NitroForce.Size = UDim2.new(0, 148, 0, 26)
  262. NitroForce.Font = Enum.Font.Cartoon
  263. NitroForce.Text = "Nitro Force"
  264. NitroForce.TextColor3 = Color3.new(0, 0, 0)
  265. NitroForce.TextScaled = true
  266. NitroForce.TextSize = 14
  267. NitroForce.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  268. NitroForce.TextWrapped = true
  269.  
  270. NFT.Name = "NFT"
  271. NFT.Parent = NitroForce
  272. NFT.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  273. NFT.BorderColor3 = Color3.new(0, 0, 0)
  274. NFT.BorderSizePixel = 2
  275. NFT.Position = UDim2.new(1.07476318, 0, 0, 0)
  276. NFT.Size = UDim2.new(0, 151, 0, 26)
  277. NFT.Font = Enum.Font.Cartoon
  278. NFT.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  279. NFT.Text = "Amount"
  280. NFT.TextColor3 = Color3.new(0, 0, 0)
  281. NFT.TextScaled = true
  282. NFT.TextSize = 14
  283. NFT.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  284. NFT.TextWrapped = true
  285.  
  286. JumpHeight.Name = "Jump Height"
  287. JumpHeight.Parent = VSV1
  288. JumpHeight.BackgroundColor3 = Color3.new(1, 0, 0.4)
  289. JumpHeight.BackgroundTransparency = 0.20000000298023
  290. JumpHeight.BorderColor3 = Color3.new(0, 0, 0)
  291. JumpHeight.BorderSizePixel = 0
  292. JumpHeight.Position = UDim2.new(0.0182370823, 0, 0.404100299, 0)
  293. JumpHeight.Size = UDim2.new(0, 148, 0, 26)
  294. JumpHeight.Font = Enum.Font.Cartoon
  295. JumpHeight.Text = "Jump Height"
  296. JumpHeight.TextColor3 = Color3.new(0, 0, 0)
  297. JumpHeight.TextScaled = true
  298. JumpHeight.TextSize = 14
  299. JumpHeight.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  300. JumpHeight.TextWrapped = true
  301.  
  302. JHT.Name = "JHT"
  303. JHT.Parent = JumpHeight
  304. JHT.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  305. JHT.BorderColor3 = Color3.new(0, 0, 0)
  306. JHT.BorderSizePixel = 2
  307. JHT.Position = UDim2.new(1.07476318, 0, 0, 0)
  308. JHT.Size = UDim2.new(0, 151, 0, 26)
  309. JHT.Font = Enum.Font.Cartoon
  310. JHT.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  311. JHT.Text = "Amount"
  312. JHT.TextColor3 = Color3.new(0, 0, 0)
  313. JHT.TextScaled = true
  314. JHT.TextSize = 14
  315. JHT.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  316. JHT.TextWrapped = true
  317.  
  318. TptoCrate.Name = "Tp to Crate"
  319. TptoCrate.Parent = VSV1
  320. TptoCrate.BackgroundColor3 = Color3.new(1, 0, 0.4)
  321. TptoCrate.BackgroundTransparency = 0.20000000298023
  322. TptoCrate.BorderColor3 = Color3.new(0, 0, 0)
  323. TptoCrate.BorderSizePixel = 0
  324. TptoCrate.Position = UDim2.new(0.464970767, 0, 0.654845238, 0)
  325. TptoCrate.Size = UDim2.new(0, 174, 0, 41)
  326. TptoCrate.Font = Enum.Font.Cartoon
  327. TptoCrate.Text = "TP to Crates"
  328. TptoCrate.TextColor3 = Color3.new(0, 0, 0)
  329. TptoCrate.TextScaled = true
  330. TptoCrate.TextSize = 14
  331. TptoCrate.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  332. TptoCrate.TextWrapped = true
  333.  
  334. Open.Name = "Open"
  335. Open.Parent = VehicleSimulator
  336. Open.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  337. Open.BorderColor3 = Color3.new(0.709804, 0, 0.0117647)
  338. Open.BorderSizePixel = 6
  339. Open.Position = UDim2.new(0.00740055507, 0, 0.553784847, 0)
  340. Open.Size = UDim2.new(0, 114, 0, 19)
  341. Open.Font = Enum.Font.Cartoon
  342. Open.Text = "Open"
  343. Open.TextColor3 = Color3.new(0, 0, 0)
  344. Open.TextScaled = true
  345. Open.TextSize = 14
  346. Open.TextWrapped = true
  347.  
  348. Close.Name = "Close"
  349. Close.Parent = VehicleSimulator
  350. Close.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  351. Close.BorderColor3 = Color3.new(0, 0, 0)
  352. Close.BorderSizePixel = 6
  353. Close.Position = UDim2.new(0.00740055507, 0, 0.553784847, 0)
  354. Close.Size = UDim2.new(0, 114, 0, 19)
  355. Close.Font = Enum.Font.Cartoon
  356. Close.Text = "Close"
  357. Close.TextColor3 = Color3.new(0, 0, 0)
  358. Close.TextScaled = true
  359. Close.TextSize = 14
  360. Close.TextWrapped = true
  361. -- Scripts:
  362.  
  363. Open.MouseButton1Click:connect(function()
  364. VSV1.Visible = true
  365. Open.Visible = false
  366. Close.Visible = true
  367. end)
  368.  
  369. Close.MouseButton1Click:connect(function()
  370. VSV1.Visible = false
  371. Open.Visible = true
  372. Close.Visible = false
  373. end)
  374.  
  375.  
  376. function findCar()
  377. local vehicle = workspace.Vehicles:getChildren()
  378. for i=1,#vehicle do
  379. if vehicle[i]:findFirstChild("owner") then
  380. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  381. myCar = vehicle[i]
  382. end
  383. end
  384. end
  385. end
  386.  
  387.  
  388. SuperCar.MouseButton1Down:connect(function()
  389. findCar()
  390. myCar.Handling.MaxSpeed.Value = 10000
  391. myCar.Handling.Torque.Value = 40000
  392. myCar.Handling.SteeringRadiusConstant.Value = 15000
  393. myCar.Handling.FrictionRoad.Value = 250
  394. myCar.Handling.Nitro.NitroSpeed.Value = 500
  395. myCar.Handling.Nitro.NitroForce.Value = 5000
  396. myCar.Handling.TurboJump.TurboJumpHeight.Value = 250
  397. end)
  398.  
  399. Speed.MouseButton1Down:connect(function()
  400. findCar()
  401. myCar.Handling.MaxSpeed.Value = SpeedBind.Text
  402. myCar.Handling.SteeringRadiusConstant.Value = 15000
  403. end)
  404.  
  405. Torque.MouseButton1Down:connect(function()
  406. findCar()
  407. myCar.Handling.Torque.Value = Torquet.Text
  408. end)
  409.  
  410. NitroSpeed.MouseButton1Down:connect(function()
  411. findCar()
  412. myCar.Handling.Nitro.NitroSpeed.Value = NST.Text
  413. end)
  414.  
  415. NitroForce.MouseButton1Down:connect(function()
  416. findCar()
  417. myCar.Handling.Nitro.NitroForce.Value = NFT.Text
  418. end)
  419.  
  420. JumpHeight.MouseButton1Down:connect(function()
  421. findCar()
  422. myCar.Handling.TurboJump.TurboJumpHeight.Value = JHT.Text
  423. end)
  424.  
  425. GiveAllPerks.MouseButton1Down:connect(function()
  426. game:GetService("Players").LocalPlayer.UserId = 1099580
  427. end)
  428.  
  429. CrateESP.MouseButton1Down:connect(function()
  430. local crates = workspace:getChildren()
  431. for i=1,#crates do
  432. if crates[i].ClassName == "Model" then
  433. local crates2 = crates[i]:getChildren()
  434. for i=1,#crates2 do
  435. if crates2[i].ClassName == "Model" then
  436. local crates3 = crates2[i]:getChildren()
  437. for i=1,#crates3 do
  438. if crates3[i].ClassName == "MeshPart" then
  439. if crates3[i]:findFirstChild("Smoke") then
  440. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  441. crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  442. else
  443. local a = Instance.new("BoxHandleAdornment",crates3[i])
  444. a.Size = Vector3.new(10,500,6)
  445. a.SizeRelativeOffset = Vector3.new(0,135,0)
  446. a.Color3 = Color3.fromRGB(0,255,0)
  447. a.Transparency = 0.5
  448. a.AlwaysOnTop = true
  449. a.Adornee = crates3[i]
  450. a.ZIndex = 1
  451. local b = Instance.new("BoxHandleAdornment",crates3[i])
  452. b.Size = Vector3.new(10,4,6)
  453. b.Color3 = Color3.fromRGB(0,0,255)
  454. b.Transparency = 0.3
  455. b.AlwaysOnTop = true
  456. b.Adornee = crates3[i]
  457. b.ZIndex = 1
  458. end
  459. end
  460. end
  461. end
  462. end
  463. end
  464. end
  465. end
  466. end)
  467.  
  468. TptoCrate.MouseButton1Down:connect(function()
  469. local crates = workspace:getChildren()
  470. for i=1,#crates do
  471. if crates[i].ClassName == "Model" then
  472. local crates2 = crates[i]:getChildren()
  473. for i=1,#crates2 do
  474. if crates2[i].ClassName == "Model" then
  475. local crates3 = crates2[i]:getChildren()
  476. for i=1,#crates3 do
  477. if crates3[i].ClassName == "MeshPart" then
  478. if crates3[i]:findFirstChild("Smoke") then
  479. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  480. wait()
  481. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  482. wait(4)
  483. end
  484. end
  485. end
  486. end
  487. end
  488. end
  489. end
  490. end)
  491.  
  492. TeleportToCar.MouseButton1Down:connect(function()
  493. findCar()
  494. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  495. end)
  496.  
  497. TeleportLT.MouseButton1Down:connect(function()
  498. findCar()
  499. myCar:MoveTo(Vector3.new(-2180,45,-3650))
  500. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement