Advertisement
AmorCH

Vehicle Simulator Script

Jan 12th, 2019
31,461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.75 KB | None | 0 0
  1. ---Script made by Razerhacks3716#6650
  2.  
  3. local VehicleSImulatorgui = Instance.new("ScreenGui")
  4. local MainFrame = Instance.new("Frame")
  5. local mbar1 = Instance.new("Frame")
  6. local mbar2 = Instance.new("Frame")
  7. local Carhack = Instance.new("TextButton")
  8. local Carhack2 = Instance.new("Frame")
  9. local Carspeed = Instance.new("TextButton")
  10. local Teleporttocar = Instance.new("TextButton")
  11. local Speed = Instance.new("TextButton")
  12. local Torque = Instance.new("TextButton")
  13. local Nitrospeed = Instance.new("TextButton")
  14. local Nitroforce = Instance.new("TextButton")
  15. local Nitroheight = Instance.new("TextButton")
  16. local Amount1 = Instance.new("TextBox")
  17. local Amount2 = Instance.new("TextBox")
  18. local Amount3 = Instance.new("TextBox")
  19. local Amount4 = Instance.new("TextBox")
  20. local Amount5 = Instance.new("TextBox")
  21. local Close = Instance.new("TextButton")
  22. local Crate = Instance.new("TextButton")
  23. local Crate2 = Instance.new("Frame")
  24. local Teleporttocrate = Instance.new("TextButton")
  25. local Crateesp = Instance.new("TextButton")
  26. local Close_2 = Instance.new("TextButton")
  27. local Gamepass = Instance.new("TextButton")
  28. local Gamepass2 = Instance.new("Frame")
  29. local Getallperks = Instance.new("TextButton")
  30. local Close_3 = Instance.new("TextButton")
  31. local Credits = Instance.new("TextLabel")
  32. local Credits2 = Instance.new("TextLabel")
  33. --Properties:
  34. VehicleSImulatorgui.Name = "VehicleSImulatorgui"
  35. VehicleSImulatorgui.Parent = game.CoreGui
  36. MainFrame.Name = "MainFrame"
  37. MainFrame.Parent = VehicleSImulatorgui
  38. MainFrame.Active = true
  39. MainFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  40. MainFrame.BorderSizePixel = 0
  41. MainFrame.Position = UDim2.new(0.0548245609, 0, 0.217391312, 0)
  42. MainFrame.Selectable = true
  43. MainFrame.Size = UDim2.new(0, 320, 0, 385)
  44. MainFrame.Style = Enum.FrameStyle.RobloxRound
  45. MainFrame.Active = true
  46. MainFrame.Draggable = true
  47.  
  48. mbar1.Name = "mbar1"
  49. mbar1.Parent = MainFrame
  50. mbar1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  51. mbar1.Position = UDim2.new(-0.0135025028, 0, -0.0110843806, 0)
  52. mbar1.Size = UDim2.new(0, 313, 0, 17)
  53.  
  54. mbar2.Name = "mbar2"
  55. mbar2.Parent = MainFrame
  56. mbar2.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  57. mbar2.Position = UDim2.new(-0.0253273975, 0, 0.0353492685, 0)
  58. mbar2.Size = UDim2.new(0, 317, 0, 17)
  59.  
  60. Carhack.Name = "Carhack"
  61. Carhack.Parent = MainFrame
  62. Carhack.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  63. Carhack.Position = UDim2.new(0.074032262, 0, 0.165167823, 0)
  64. Carhack.Size = UDim2.new(0, 255, 0, 38)
  65. Carhack.Font = Enum.Font.SourceSans
  66. Carhack.Text = "Car"
  67. Carhack.TextColor3 = Color3.new(1, 1, 1)
  68. Carhack.TextScaled = true
  69. Carhack.TextSize = 14
  70. Carhack.TextWrapped = true
  71.  
  72. Carhack2.Name = "Carhack2"
  73. Carhack2.Parent = Carhack
  74. Carhack2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  75. Carhack2.Position = UDim2.new(1.24390244, 0, -1.71052599, 0)
  76. Carhack2.Size = UDim2.new(0, 387, 0, 385)
  77. Carhack2.Visible = false
  78. Carhack2.Style = Enum.FrameStyle.RobloxRound
  79.  
  80. Carspeed.Name = "Carspeed"
  81. Carspeed.Parent = Carhack2
  82. Carspeed.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  83. Carspeed.Position = UDim2.new(0.0257328618, 0, 0.0678630471, 0)
  84. Carspeed.Size = UDim2.new(0, 142, 0, 43)
  85. Carspeed.Font = Enum.Font.SourceSans
  86. Carspeed.Text = "Car speed"
  87. Carspeed.TextColor3 = Color3.new(1, 1, 1)
  88. Carspeed.TextScaled = true
  89. Carspeed.TextSize = 14
  90. Carspeed.TextWrapped = true
  91.  
  92. Teleporttocar.Name = "Teleporttocar"
  93. Teleporttocar.Parent = Carhack2
  94. Teleporttocar.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  95. Teleporttocar.Position = UDim2.new(0.568368554, 0, 0.0678630471, 0)
  96. Teleporttocar.Size = UDim2.new(0, 142, 0, 43)
  97. Teleporttocar.Font = Enum.Font.SourceSans
  98. Teleporttocar.Text = "Tp to car"
  99. Teleporttocar.TextColor3 = Color3.new(1, 1, 1)
  100. Teleporttocar.TextScaled = true
  101. Teleporttocar.TextSize = 14
  102. Teleporttocar.TextWrapped = true
  103.  
  104. Speed.Name = "Speed"
  105. Speed.Parent = Carhack2
  106. Speed.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  107. Speed.Position = UDim2.new(0.0242416821, 0, 0.390298247, 0)
  108. Speed.Size = UDim2.new(0, 138, 0, 33)
  109. Speed.Font = Enum.Font.SourceSans
  110. Speed.Text = "Speed"
  111. Speed.TextColor3 = Color3.new(1, 1, 1)
  112. Speed.TextScaled = true
  113. Speed.TextSize = 14
  114. Speed.TextWrapped = true
  115.  
  116. Torque.Name = "Torque"
  117. Torque.Parent = Carhack2
  118. Torque.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  119. Torque.Position = UDim2.new(0.0242416821, 0, 0.514973581, 0)
  120. Torque.Size = UDim2.new(0, 138, 0, 33)
  121. Torque.Font = Enum.Font.SourceSans
  122. Torque.Text = "Torque"
  123. Torque.TextColor3 = Color3.new(1, 1, 1)
  124. Torque.TextScaled = true
  125. Torque.TextSize = 14
  126. Torque.TextWrapped = true
  127.  
  128. Nitrospeed.Name = "Nitrospeed"
  129. Nitrospeed.Parent = Carhack2
  130. Nitrospeed.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  131. Nitrospeed.Position = UDim2.new(0.0242416821, 0, 0.644843698, 0)
  132. Nitrospeed.Size = UDim2.new(0, 138, 0, 33)
  133. Nitrospeed.Font = Enum.Font.SourceSans
  134. Nitrospeed.Text = "Nitro Speed"
  135. Nitrospeed.TextColor3 = Color3.new(1, 1, 1)
  136. Nitrospeed.TextScaled = true
  137. Nitrospeed.TextSize = 14
  138. Nitrospeed.TextWrapped = true
  139.  
  140. Nitroforce.Name = "Nitroforce"
  141. Nitroforce.Parent = Carhack2
  142. Nitroforce.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  143. Nitroforce.Position = UDim2.new(0.0242416821, 0, 0.769518912, 0)
  144. Nitroforce.Size = UDim2.new(0, 138, 0, 33)
  145. Nitroforce.Font = Enum.Font.SourceSans
  146. Nitroforce.Text = "Nitro Force"
  147. Nitroforce.TextColor3 = Color3.new(1, 1, 1)
  148. Nitroforce.TextScaled = true
  149. Nitroforce.TextSize = 14
  150. Nitroforce.TextWrapped = true
  151.  
  152. Nitroheight.Name = "Nitroheight"
  153. Nitroheight.Parent = Carhack2
  154. Nitroheight.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  155. Nitroheight.Position = UDim2.new(0.0242416821, 0, 0.888999581, 0)
  156. Nitroheight.Size = UDim2.new(0, 138, 0, 33)
  157. Nitroheight.Font = Enum.Font.SourceSans
  158. Nitroheight.Text = "Nitro Height"
  159. Nitroheight.TextColor3 = Color3.new(1, 1, 1)
  160. Nitroheight.TextScaled = true
  161. Nitroheight.TextSize = 14
  162. Nitroheight.TextWrapped = true
  163.  
  164. Amount1.Name = "Amount1"
  165. Amount1.Parent = Carhack2
  166. Amount1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  167. Amount1.Position = UDim2.new(0.44320339, 0, 0.396150172, 0)
  168. Amount1.Size = UDim2.new(0, 174, 0, 31)
  169. Amount1.Font = Enum.Font.SourceSans
  170. Amount1.Text = "Amount"
  171. Amount1.TextColor3 = Color3.new(1, 1, 1)
  172. Amount1.TextScaled = true
  173. Amount1.TextSize = 14
  174. Amount1.TextWrapped = true
  175.  
  176. Amount2.Name = "Amount2"
  177. Amount2.Parent = Carhack2
  178. Amount2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  179. Amount2.Position = UDim2.new(0.440619409, 0, 0.520825505, 0)
  180. Amount2.Size = UDim2.new(0, 174, 0, 31)
  181. Amount2.Font = Enum.Font.SourceSans
  182. Amount2.Text = "Amount"
  183. Amount2.TextColor3 = Color3.new(1, 1, 1)
  184. Amount2.TextScaled = true
  185. Amount2.TextSize = 14
  186. Amount2.TextWrapped = true
  187.  
  188. Amount3.Name = "Amount3"
  189. Amount3.Parent = Carhack2
  190. Amount3.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  191. Amount3.Position = UDim2.new(0.438035429, 0, 0.650695622, 0)
  192. Amount3.Size = UDim2.new(0, 174, 0, 31)
  193. Amount3.Font = Enum.Font.SourceSans
  194. Amount3.Text = "Amount"
  195. Amount3.TextColor3 = Color3.new(1, 1, 1)
  196. Amount3.TextScaled = true
  197. Amount3.TextSize = 14
  198. Amount3.TextWrapped = true
  199.  
  200. Amount4.Name = "Amount4"
  201. Amount4.Parent = Carhack2
  202. Amount4.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  203. Amount4.Position = UDim2.new(0.435451448, 0, 0.772773504, 0)
  204. Amount4.Size = UDim2.new(0, 174, 0, 31)
  205. Amount4.Font = Enum.Font.SourceSans
  206. Amount4.Text = "Amount"
  207. Amount4.TextColor3 = Color3.new(1, 1, 1)
  208. Amount4.TextScaled = true
  209. Amount4.TextSize = 14
  210. Amount4.TextWrapped = true
  211.  
  212. Amount5.Name = "Amount5"
  213. Amount5.Parent = Carhack2
  214. Amount5.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  215. Amount5.Position = UDim2.new(0.440619409, 0, 0.876669645, 0)
  216. Amount5.Size = UDim2.new(0, 174, 0, 31)
  217. Amount5.Font = Enum.Font.SourceSans
  218. Amount5.Text = "Amount"
  219. Amount5.TextColor3 = Color3.new(1, 1, 1)
  220. Amount5.TextScaled = true
  221. Amount5.TextSize = 14
  222. Amount5.TextWrapped = true
  223.  
  224. Close.Name = "Close"
  225. Close.Parent = Carhack2
  226. Close.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  227. Close.Position = UDim2.new(0.895532429, 0, -0.00497892313, 0)
  228. Close.Size = UDim2.new(0, 32, 0, 27)
  229. Close.Font = Enum.Font.SourceSans
  230. Close.Text = "X"
  231. Close.TextColor3 = Color3.new(1, 1, 1)
  232. Close.TextScaled = true
  233. Close.TextSize = 14
  234. Close.TextWrapped = true
  235.  
  236. Crate.Name = "Crate"
  237. Crate.Parent = MainFrame
  238. Crate.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  239. Crate.Position = UDim2.new(0.0713139549, 0, 0.335612833, 0)
  240. Crate.Size = UDim2.new(0, 256, 0, 38)
  241. Crate.Font = Enum.Font.SourceSans
  242. Crate.Text = "Crates"
  243. Crate.TextColor3 = Color3.new(1, 1, 1)
  244. Crate.TextScaled = true
  245. Crate.TextSize = 14
  246. Crate.TextWrapped = true
  247.  
  248. Crate2.Name = "Crate2"
  249. Crate2.Parent = Crate
  250. Crate2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  251. Crate2.Position = UDim2.new(1.3114754, 0, -4.42105246, 0)
  252. Crate2.Size = UDim2.new(0, 175, 0, 380)
  253. Crate2.Visible = false
  254. Crate2.Style = Enum.FrameStyle.RobloxRound
  255.  
  256. Teleporttocrate.Name = "Teleporttocrate"
  257. Teleporttocrate.Parent = Crate2
  258. Teleporttocrate.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  259. Teleporttocrate.Position = UDim2.new(0.102857143, 0, 0.244736835, 0)
  260. Teleporttocrate.Size = UDim2.new(0, 126, 0, 45)
  261. Teleporttocrate.Font = Enum.Font.SourceSans
  262. Teleporttocrate.Text = "Tp to crate"
  263. Teleporttocrate.TextColor3 = Color3.new(1, 1, 1)
  264. Teleporttocrate.TextScaled = true
  265. Teleporttocrate.TextSize = 14
  266. Teleporttocrate.TextWrapped = true
  267.  
  268. Crateesp.Name = "Crateesp"
  269. Crateesp.Parent = Crate2
  270. Crateesp.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  271. Crateesp.Position = UDim2.new(0.102857143, 0, 0.589473665, 0)
  272. Crateesp.Size = UDim2.new(0, 126, 0, 45)
  273. Crateesp.Font = Enum.Font.SourceSans
  274. Crateesp.Text = "Crate Esp"
  275. Crateesp.TextColor3 = Color3.new(1, 1, 1)
  276. Crateesp.TextScaled = true
  277. Crateesp.TextSize = 14
  278. Crateesp.TextWrapped = true
  279.  
  280. Close_2.Name = "Close"
  281. Close_2.Parent = Crate2
  282. Close_2.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  283. Close_2.Position = UDim2.new(0.764483809, 0, -0.0053504142, 0)
  284. Close_2.Size = UDim2.new(0, 37, 0, 37)
  285. Close_2.Font = Enum.Font.SourceSans
  286. Close_2.Text = "X"
  287. Close_2.TextColor3 = Color3.new(1, 1, 1)
  288. Close_2.TextScaled = true
  289. Close_2.TextSize = 14
  290. Close_2.TextWrapped = true
  291.  
  292. Gamepass.Name = "Gamepass"
  293. Gamepass.Parent = MainFrame
  294. Gamepass.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  295. Gamepass.Position = UDim2.new(0.0756219849, 0, 0.538608909, 0)
  296. Gamepass.Size = UDim2.new(0, 258, 0, 40)
  297. Gamepass.Font = Enum.Font.SourceSans
  298. Gamepass.Text = "Perks"
  299. Gamepass.TextColor3 = Color3.new(1, 1, 1)
  300. Gamepass.TextScaled = true
  301. Gamepass.TextSize = 14
  302. Gamepass.TextWrapped = true
  303.  
  304. Gamepass2.Name = "Gamepass2"
  305. Gamepass2.Parent = Gamepass
  306. Gamepass2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  307. Gamepass2.Position = UDim2.new(1.3114754, 0, -5.52499962, 0)
  308. Gamepass2.Size = UDim2.new(0, 210, 0, 253)
  309. Gamepass2.Visible = false
  310. Gamepass2.Style = Enum.FrameStyle.RobloxRound
  311.  
  312. Getallperks.Name = "Getallperks"
  313. Getallperks.Parent = Gamepass2
  314. Getallperks.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  315. Getallperks.Position = UDim2.new(0.118322179, 0, 0.356699824, 0)
  316. Getallperks.Size = UDim2.new(0, 145, 0, 50)
  317. Getallperks.Font = Enum.Font.SourceSans
  318. Getallperks.Text = "Get all perks"
  319. Getallperks.TextColor3 = Color3.new(1, 1, 1)
  320. Getallperks.TextScaled = true
  321. Getallperks.TextSize = 14
  322. Getallperks.TextWrapped = true
  323.  
  324. Close_3.Name = "Close"
  325. Close_3.Parent = Gamepass2
  326. Close_3.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  327. Close_3.Position = UDim2.new(0.788117886, 0, 0, 0)
  328. Close_3.Size = UDim2.new(0, 38, 0, 36)
  329. Close_3.Font = Enum.Font.SourceSans
  330. Close_3.Text = "X"
  331. Close_3.TextColor3 = Color3.new(1, 1, 1)
  332. Close_3.TextScaled = true
  333. Close_3.TextSize = 14
  334. Close_3.TextWrapped = true
  335.  
  336. Credits.Name = "Credits"
  337. Credits.Parent = MainFrame
  338. Credits.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  339. Credits.Position = UDim2.new(0.0953306183, 0, 0.713761449, 0)
  340. Credits.Size = UDim2.new(0, 258, 0, 35)
  341. Credits.Font = Enum.Font.SourceSans
  342. Credits.Text = "Made by Razerhacks3716#6650"
  343. Credits.TextColor3 = Color3.new(1, 1, 1)
  344. Credits.TextScaled = true
  345. Credits.TextSize = 20
  346. Credits.TextWrapped = true
  347.  
  348. Credits2.Name = "Credits2"
  349. Credits2.Parent = MainFrame
  350. Credits2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  351. Credits2.Position = UDim2.new(0.0874390602, 0, 0.863838196, 0)
  352. Credits2.Size = UDim2.new(0, 263, 0, 28)
  353. Credits2.Font = Enum.Font.SourceSans
  354. Credits2.Text = "Keep in mind that when script is updated, it changes"
  355. Credits2.TextColor3 = Color3.new(1, 1, 1)
  356. Credits2.TextScaled = true
  357. Credits2.TextSize = 14
  358. Credits2.TextWrapped = true
  359. -- Scripts:
  360.  
  361. Carhack.MouseButton1Down:connect(function()
  362. MainFrame.Visible = true
  363. Carhack2.Visible = true
  364. end)
  365.  
  366. Close.MouseButton1Down:connect(function()
  367. MainFrame.Visible = true
  368. Carhack2.Visible = false
  369. end)
  370.  
  371. Crate.MouseButton1Down:connect(function()
  372. MainFrame.Visible = true
  373. Crate2.Visible = true
  374. end)
  375.  
  376. Close_2.MouseButton1Down:connect(function()
  377. MainFrame.Visible = true
  378. Crate2.Visible = false
  379. end)
  380.  
  381. Gamepass.MouseButton1Down:connect(function()
  382. MainFrame.Visible = true
  383. Gamepass2.Visible = true
  384. end)
  385.  
  386. Close_3.MouseButton1Down:connect(function()
  387. MainFrame.Visible = true
  388. Gamepass2.Visible = false
  389. end)
  390.  
  391. --------------SCRIPTS---------------------
  392. function findCar()
  393. local vehicle = workspace.Vehicles:getChildren()
  394. for i=1,#vehicle do
  395. if vehicle[i]:findFirstChild("owner") then
  396. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  397. myCar = vehicle[i]
  398. end
  399. end
  400. end
  401. end
  402.  
  403. Carspeed.MouseButton1Down:connect(function()
  404. findCar()
  405. myCar.Handling.MaxSpeed.Value = 10000
  406. myCar.Handling.Torque.Value = 40000
  407. myCar.Handling.SteeringRadiusConstant.Value = 15000
  408. myCar.Handling.FrictionRoad.Value = 250
  409. myCar.Handling.Nitro.NitroSpeed.Value = 500
  410. myCar.Handling.Nitro.NitroForce.Value = 5000
  411. myCar.Handling.TurboJump.TurboJumpHeight.Value = 250
  412. end)
  413.  
  414. Speed.MouseButton1Down:connect(function()
  415. findCar()
  416. myCar.Handling.MaxSpeed.Value =Amount1.Text
  417. myCar.Handling.SteeringRadiusConstant.Value = 15000
  418. end)
  419.  
  420. Torque.MouseButton1Down:connect(function()
  421. findCar()
  422. myCar.Handling.Torque.Value = Amount2.Text
  423. end)
  424.  
  425. Nitrospeed.MouseButton1Down:connect(function()
  426. findCar()
  427. myCar.Handling.Nitro.NitroSpeed.Value = Amount3.Text
  428. end)
  429.  
  430. Nitroforce.MouseButton1Down:connect(function()
  431. findCar()
  432. myCar.Handling.Nitro.NitroForce.Value = Amount4.Text
  433. end)
  434.  
  435. Nitroheight.MouseButton1Down:connect(function()
  436. findCar()
  437. myCar.Handling.TurboJump.TurboJumpHeight.Value = Amount5.Text
  438. end)
  439.  
  440. Teleporttocar.MouseButton1Down:connect(function()
  441.     findCar()
  442. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  443. end)
  444.  
  445. Crateesp.MouseButton1Down:connect(function()
  446.     local crates = workspace:getChildren()
  447. for i=1,#crates do
  448. if crates[i].ClassName == "Model" then
  449. local crates2 = crates[i]:getChildren()
  450. for i=1,#crates2 do
  451. if crates2[i].ClassName == "Model" then
  452. local crates3 = crates2[i]:getChildren()
  453. for i=1,#crates3 do
  454. if crates3[i].ClassName == "MeshPart" then
  455. if crates3[i]:findFirstChild("Smoke") then
  456. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  457.     crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  458. else
  459. local a = Instance.new("BoxHandleAdornment",crates3[i])
  460. a.Size = Vector3.new(10,500,6)
  461. a.SizeRelativeOffset = Vector3.new(0,135,0)
  462. a.Color3 = Color3.fromRGB(0,255,0)
  463. a.Transparency = 0.5
  464. a.AlwaysOnTop = true
  465. a.Adornee = crates3[i]
  466. a.ZIndex = 1
  467. local b = Instance.new("BoxHandleAdornment",crates3[i])
  468. b.Size = Vector3.new(10,4,6)
  469. b.Color3 = Color3.fromRGB(0,0,255)
  470. b.Transparency = 0.3
  471. b.AlwaysOnTop = true
  472. b.Adornee = crates3[i]
  473. b.ZIndex = 1
  474. end
  475. end
  476. end
  477. end
  478. end
  479. end
  480. end
  481. end
  482. end)
  483.  
  484. Teleporttocrate.MouseButton1Down:connect(function()
  485.     local crates = workspace:getChildren()
  486. for i=1,#crates do
  487. if crates[i].ClassName == "Model" then
  488. local crates2 = crates[i]:getChildren()
  489. for i=1,#crates2 do
  490. if crates2[i].ClassName == "Model" then
  491. local crates3 = crates2[i]:getChildren()
  492. for i=1,#crates3 do
  493. if crates3[i].ClassName == "MeshPart" then
  494. if crates3[i]:findFirstChild("Smoke") then
  495. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  496. wait()
  497. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  498. wait(4)
  499. end
  500. end
  501. end
  502. end
  503. end
  504. end
  505. end
  506. end)
  507.  
  508. Getallperks.MouseButton1Down:connect(function()
  509. game:GetService("Players").LocalPlayer.UserId = 1099580
  510. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement