Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.64 KB | None | 0 0
  1. -- Version 2.0
  2. local Atilier = Instance.new("ScreenGui")
  3. local OpenFrame = Instance.new("Frame")
  4. local Open = Instance.new("TextButton")
  5. local Main = Instance.new("ScrollingFrame")
  6. local AroundtheWorld = Instance.new("TextButton")
  7. local Config = Instance.new("TextButton")
  8. local AirportAutofarm = Instance.new("TextButton")
  9. local Title = Instance.new("TextLabel")
  10. local Close1 = Instance.new("TextButton")
  11. local ConfigFrame = Instance.new("Frame")
  12. local configTitle = Instance.new("TextLabel")
  13. local Close2 = Instance.new("TextButton")
  14. local Speed = Instance.new("TextButton")
  15. local inputSpeed = Instance.new("TextBox")
  16. local Torque = Instance.new("TextButton")
  17. local torqueInput = Instance.new("TextBox")
  18. local nitroSpeed = Instance.new("TextButton")
  19. local nspeedInput = Instance.new("TextBox")
  20. local nitroForce = Instance.new("TextButton")
  21. local nforceInput = Instance.new("TextBox")
  22. local jumpHeight = Instance.new("TextButton")
  23. local jheightInput = Instance.new("TextBox")
  24. local BoxESP = Instance.new("TextButton")
  25. local TurnoffAF = Instance.new("TextButton")
  26. local TOAFFrame = Instance.new("Frame")
  27. local CoordFinder = Instance.new("TextButton")
  28. local Frame = Instance.new("Frame")
  29. local X = Instance.new("TextLabel")
  30. local Y = Instance.new("TextLabel")
  31. local Z = Instance.new("TextLabel")
  32. local CloseFrame = Instance.new("Frame")
  33. local Close = Instance.new("TextButton")
  34. local TPtocrates = Instance.new("TextButton")
  35. local Friction = Instance.new("TextButton")
  36. local inputFriction = Instance.new("TextBox")
  37. ATW = false
  38. stopFarming = false
  39. --Properties:
  40.  
  41. Atilier.Name = "Atilier"
  42. Atilier.Parent = game.CoreGui
  43.  
  44. OpenFrame.Name = "Open Frame"
  45. OpenFrame.Parent = Atilier
  46. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  47. OpenFrame.Position = UDim2.new(0.26817289, 0, 0.950166106, 0)
  48. OpenFrame.Size = UDim2.new(0, 129, 0, 30)
  49.  
  50. Open.Name = "Open"
  51. Open.Parent = OpenFrame
  52. Open.BackgroundColor3 = Color3.new(0.333333, 1, 0.498039)
  53. Open.BorderColor3 = Color3.new(1, 1, 1)
  54. Open.Position = UDim2.new(0, 0, -0.0165008605, 0)
  55. Open.Size = UDim2.new(0, 129, 0, 30)
  56. Open.Font = Enum.Font.Highway
  57. Open.Text = "Open"
  58. Open.TextColor3 = Color3.new(1, 1, 1)
  59. Open.TextSize = 18
  60. Open.MouseButton1Click:connect(function()
  61. Main.Visible = true
  62. OpenFrame.Visible = false
  63. end)
  64.  
  65. Main.Draggable = true
  66. Main.Active = true
  67. Main.Name = "Main"
  68. Main.Parent = Atilier
  69. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  70. Main.BackgroundTransparency = 0.30000001192093
  71. Main.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
  72. Main.Position = UDim2.new(-0.00908173528, 0, 0.282392025, 0)
  73. Main.Size = UDim2.new(0, 203, 0, 114)
  74. Main.CanvasPosition = Vector2.new(0, 28.5)
  75. Main.Visible = false
  76.  
  77. AroundtheWorld.Name = "Around the World"
  78. AroundtheWorld.Parent = Main
  79. AroundtheWorld.BackgroundColor3 = Color3.new(1, 1, 1)
  80. AroundtheWorld.BackgroundTransparency = 0.40000000596046
  81. AroundtheWorld.BorderColor3 = Color3.new(1, 1, 1)
  82. AroundtheWorld.Position = UDim2.new(0, 0, 0.0265780725, 0)
  83. AroundtheWorld.Size = UDim2.new(0, 200, 0, 50)
  84. AroundtheWorld.Font = Enum.Font.GothamSemibold
  85. AroundtheWorld.Text = "Around the World"
  86. AroundtheWorld.TextColor3 = Color3.new(0, 0, 0)
  87. AroundtheWorld.TextSize = 14
  88. AroundtheWorld.MouseButton1Click:connect(function()
  89. FarmLoop()
  90. end)
  91. Config.Name = "Config"
  92. Config.Parent = Main
  93. Config.BackgroundColor3 = Color3.new(1, 1, 1)
  94. Config.BackgroundTransparency = 0.40000000596046
  95. Config.BorderColor3 = Color3.new(1, 1, 1)
  96. Config.Position = UDim2.new(0, 0, 0.0681063086, 0)
  97. Config.Size = UDim2.new(0, 200, 0, 50)
  98. Config.Font = Enum.Font.GothamSemibold
  99. Config.Text = "Configure"
  100. Config.TextColor3 = Color3.new(0, 0, 0)
  101. Config.TextSize = 14
  102. Config.MouseButton1Click:connect(function()
  103. ConfigFrame.Visible = true
  104. end)
  105.  
  106. AirportAutofarm.Name = "Airport Auto-farm"
  107. AirportAutofarm.Parent = Main
  108. AirportAutofarm.BackgroundColor3 = Color3.new(1, 1, 1)
  109. AirportAutofarm.BackgroundTransparency = 0.40000000596046
  110. AirportAutofarm.BorderColor3 = Color3.new(1, 1, 1)
  111. AirportAutofarm.Position = UDim2.new(-1.86264515e-09, 0, 0.109634548, 0)
  112. AirportAutofarm.Size = UDim2.new(0, 200, 0, 50)
  113. AirportAutofarm.Font = Enum.Font.GothamSemibold
  114. AirportAutofarm.Text = "Airport Auto-farm"
  115. AirportAutofarm.TextColor3 = Color3.new(0, 0, 0)
  116. AirportAutofarm.TextSize = 14
  117.  
  118. Title.Name = "Title"
  119. Title.Parent = Main
  120. Title.BackgroundColor3 = Color3.new(0, 0, 0)
  121. Title.BackgroundTransparency = 0.20000000298023
  122. Title.BorderColor3 = Color3.new(1, 1, 1)
  123. Title.Size = UDim2.new(0, 200, 0, 35)
  124. Title.Font = Enum.Font.GothamBlack
  125. Title.Text = "Atilier"
  126. Title.TextColor3 = Color3.new(1, 1, 1)
  127. Title.TextSize = 16
  128.  
  129. Close1.Name = "Close1"
  130. Close1.Parent = Main
  131. Close1.BackgroundColor3 = Color3.new(1, 1, 1)
  132. Close1.BackgroundTransparency = 1
  133. Close1.BorderSizePixel = 0
  134. Close1.Position = UDim2.new(0.763546646, 0, 0, 0)
  135. Close1.Size = UDim2.new(0, 35, 0, 35)
  136. Close1.Font = Enum.Font.GothamSemibold
  137. Close1.Text = "X"
  138. Close1.TextColor3 = Color3.new(1, 1, 1)
  139. Close1.TextSize = 14
  140. Close1.MouseButton1Click:connect(function()
  141. Main.Visible = false
  142. OpenFrame.Visible = true
  143. end)
  144.  
  145. ConfigFrame.Name = "Config Frame"
  146. ConfigFrame.Parent = Atilier
  147. ConfigFrame.BackgroundColor3 = Color3.new(0.898039, 0.898039, 0.898039)
  148. ConfigFrame.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
  149. ConfigFrame.Position = UDim2.new(0.267406642, 0, 0.63369137, 0)
  150. ConfigFrame.Size = UDim2.new(0, 129, 0, 213)
  151. ConfigFrame.Visible = false
  152. ConfigFrame.Active = true
  153. ConfigFrame.Draggable = true
  154.  
  155. configTitle.Name = "configTitle"
  156. configTitle.Parent = ConfigFrame
  157. configTitle.BackgroundColor3 = Color3.new(0, 0, 0)
  158. configTitle.BackgroundTransparency = 0.20000000298023
  159. configTitle.BorderColor3 = Color3.new(1, 1, 1)
  160. configTitle.Size = UDim2.new(0, 129, 0, 30)
  161. configTitle.Font = Enum.Font.GothamBold
  162. configTitle.Text = "Config"
  163. configTitle.TextColor3 = Color3.new(1, 1, 1)
  164. configTitle.TextSize = 14
  165.  
  166. Close2.Name = "Close2"
  167. Close2.Parent = ConfigFrame
  168. Close2.BackgroundColor3 = Color3.new(1, 1, 1)
  169. Close2.BackgroundTransparency = 1
  170. Close2.BorderSizePixel = 0
  171. Close2.Position = UDim2.new(0.806201577, 0, 0, 0)
  172. Close2.Size = UDim2.new(0, 25, 0, 30)
  173. Close2.Font = Enum.Font.GothamSemibold
  174. Close2.Text = "X"
  175. Close2.TextColor3 = Color3.new(1, 1, 1)
  176. Close2.TextSize = 14
  177. Close2.MouseButton1Click:connect(function()
  178. ConfigFrame.Visible = false
  179. end)
  180.  
  181. Speed.Name = "Speed"
  182. Speed.Parent = ConfigFrame
  183. Speed.BackgroundColor3 = Color3.new(1, 1, 1)
  184. Speed.BorderSizePixel = 0
  185. Speed.Position = UDim2.new(0, 0, 0.139, 0)
  186. Speed.Size = UDim2.new(0, 70, 0, 31)
  187. Speed.Font = Enum.Font.GothamSemibold
  188. Speed.Text = "Speed:"
  189. Speed.TextColor3 = Color3.new(0, 0, 0)
  190. Speed.TextSize = 14
  191.  
  192. inputSpeed.Name = "inputSpeed"
  193. inputSpeed.Parent = Speed
  194. inputSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
  195. inputSpeed.BackgroundTransparency = 1
  196. inputSpeed.BorderSizePixel = 0
  197. inputSpeed.Position = UDim2.new(1, 0, 0, 0)
  198. inputSpeed.Size = UDim2.new(0, 59, 0, 31)
  199. inputSpeed.Font = Enum.Font.GothamSemibold
  200. inputSpeed.Text = ""
  201. inputSpeed.TextColor3 = Color3.new(0, 0, 0)
  202. inputSpeed.TextSize = 14
  203.  
  204. Torque.Name = "Torque"
  205. Torque.Parent = ConfigFrame
  206. Torque.BackgroundColor3 = Color3.new(1, 1, 1)
  207. Torque.BorderSizePixel = 0
  208. Torque.Position = UDim2.new(0, 0, 0.278, 0)
  209. Torque.Size = UDim2.new(0, 70, 0, 31)
  210. Torque.Font = Enum.Font.GothamSemibold
  211. Torque.Text = "Torque:"
  212. Torque.TextColor3 = Color3.new(0, 0, 0)
  213. Torque.TextSize = 14
  214.  
  215. torqueInput.Name = "torqueInput"
  216. torqueInput.Parent = Torque
  217. torqueInput.BackgroundColor3 = Color3.new(1, 1, 1)
  218. torqueInput.BackgroundTransparency = 1
  219. torqueInput.BorderSizePixel = 0
  220. torqueInput.Position = UDim2.new(1, 0, 0, 0)
  221. torqueInput.Size = UDim2.new(0, 59, 0, 31)
  222. torqueInput.Font = Enum.Font.GothamSemibold
  223. torqueInput.Text = ""
  224. torqueInput.TextColor3 = Color3.new(0, 0, 0)
  225. torqueInput.TextSize = 14
  226.  
  227. nitroSpeed.Name = "nitroSpeed"
  228. nitroSpeed.Parent = ConfigFrame
  229. nitroSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
  230. nitroSpeed.BorderSizePixel = 0
  231. nitroSpeed.Position = UDim2.new(0, 0, 0.427, 0)
  232. nitroSpeed.Size = UDim2.new(0, 70, 0, 31)
  233. nitroSpeed.Font = Enum.Font.GothamSemibold
  234. nitroSpeed.Text = "N Speed:"
  235. nitroSpeed.TextColor3 = Color3.new(0, 0, 0)
  236. nitroSpeed.TextSize = 14
  237.  
  238. nspeedInput.Name = "nspeedInput"
  239. nspeedInput.Parent = nitroSpeed
  240. nspeedInput.BackgroundColor3 = Color3.new(1, 1, 1)
  241. nspeedInput.BackgroundTransparency = 1
  242. nspeedInput.BorderSizePixel = 0
  243. nspeedInput.Position = UDim2.new(1, 0, 0, 0)
  244. nspeedInput.Size = UDim2.new(0, 59, 0, 31)
  245. nspeedInput.Font = Enum.Font.GothamSemibold
  246. nspeedInput.Text = ""
  247. nspeedInput.TextColor3 = Color3.new(0, 0, 0)
  248. nspeedInput.TextSize = 14
  249.  
  250. nitroForce.Name = "nitroForce"
  251. nitroForce.Parent = ConfigFrame
  252. nitroForce.BackgroundColor3 = Color3.new(1, 1, 1)
  253. nitroForce.BorderSizePixel = 0
  254. nitroForce.Position = UDim2.new(0, 0, 0.571, 0)
  255. nitroForce.Size = UDim2.new(0, 70, 0, 31)
  256. nitroForce.Font = Enum.Font.GothamSemibold
  257. nitroForce.Text = "N Force:"
  258. nitroForce.TextColor3 = Color3.new(0, 0, 0)
  259. nitroForce.TextSize = 14
  260.  
  261. nforceInput.Name = "nforceInput"
  262. nforceInput.Parent = nitroForce
  263. nforceInput.BackgroundColor3 = Color3.new(1, 1, 1)
  264. nforceInput.BackgroundTransparency = 1
  265. nforceInput.BorderSizePixel = 0
  266. nforceInput.Position = UDim2.new(1, 0, 0, 0)
  267. nforceInput.Size = UDim2.new(0, 59, 0, 31)
  268. nforceInput.Font = Enum.Font.GothamSemibold
  269. nforceInput.Text = ""
  270. nforceInput.TextColor3 = Color3.new(0, 0, 0)
  271. nforceInput.TextSize = 14
  272.  
  273. jumpHeight.Name = "jumpHeight"
  274. jumpHeight.Parent = ConfigFrame
  275. jumpHeight.BackgroundColor3 = Color3.new(1, 1, 1)
  276. jumpHeight.BorderSizePixel = 0
  277. jumpHeight.Position = UDim2.new(0, 0, 0.715, 0)
  278. jumpHeight.Size = UDim2.new(0, 70, 0, 31)
  279. jumpHeight.Font = Enum.Font.GothamSemibold
  280. jumpHeight.Text = "J Height"
  281. jumpHeight.TextColor3 = Color3.new(0, 0, 0)
  282. jumpHeight.TextSize = 14
  283.  
  284. jheightInput.Name = "jheightInput"
  285. jheightInput.Parent = jumpHeight
  286. jheightInput.BackgroundColor3 = Color3.new(1, 1, 1)
  287. jheightInput.BackgroundTransparency = 1
  288. jheightInput.BorderSizePixel = 0
  289. jheightInput.Position = UDim2.new(1, 0, 0, 0)
  290. jheightInput.Size = UDim2.new(0, 59, 0, 31)
  291. jheightInput.Font = Enum.Font.GothamSemibold
  292. jheightInput.Text = ""
  293. jheightInput.TextColor3 = Color3.new(0, 0, 0)
  294. jheightInput.TextSize = 14
  295.  
  296. Friction.Name = "Friction"
  297. Friction.Parent = ConfigFrame
  298. Friction.BackgroundColor3 = Color3.new(1, 1, 1)
  299. Friction.BorderSizePixel = 0
  300. Friction.Position = UDim2.new(0, 0, 0.858, 0)
  301. Friction.Size = UDim2.new(0, 70, 0, 31)
  302. Friction.Font = Enum.Font.GothamSemibold
  303. Friction.Text = "Friction:"
  304. Friction.TextColor3 = Color3.new(0, 0, 0)
  305. Friction.TextSize = 14
  306.  
  307. inputFriction.Name = "inputFriction"
  308. inputFriction.Parent = Friction
  309. inputFriction.BackgroundColor3 = Color3.new(1, 1, 1)
  310. inputFriction.BackgroundTransparency = 1
  311. inputFriction.BorderSizePixel = 0
  312. inputFriction.Position = UDim2.new(1, 0, 0, 0)
  313. inputFriction.Size = UDim2.new(0, 59, 0, 31)
  314. inputFriction.Font = Enum.Font.GothamSemibold
  315. inputFriction.Text = ""
  316. inputFriction.TextColor3 = Color3.new(0, 0, 0)
  317. inputFriction.TextSize = 14
  318.  
  319. BoxESP.Name = "BoxESP"
  320. BoxESP.Parent = Main
  321. BoxESP.BackgroundColor3 = Color3.new(1, 1, 1)
  322. BoxESP.BackgroundTransparency = 0.40000000596046
  323. BoxESP.BorderColor3 = Color3.new(1, 1, 1)
  324. BoxESP.BorderSizePixel = 1
  325. BoxESP.Position = UDim2.new(0, 0, .151, 0)
  326. BoxESP.Size = UDim2.new(0, 200, 0, 50)
  327. BoxESP.Font = Enum.Font.GothamSemibold
  328. BoxESP.Text = "BoxESP"
  329. BoxESP.TextColor3 = Color3.new(0, 0, 0)
  330. BoxESP.TextSize = 14
  331. BoxESP.MouseButton1Down:connect(function()
  332. local crates = workspace:getChildren()
  333. for i=1,#crates do
  334. if crates[i].ClassName == "Model" then
  335. local crates2 = crates[i]:getChildren()
  336. for i=1,#crates2 do
  337. if crates2[i].ClassName == "Model" then
  338. local crates3 = crates2[i]:getChildren()
  339. for i=1,#crates3 do
  340. if crates3[i].ClassName == "MeshPart" then
  341. if crates3[i]:findFirstChild("Smoke") then
  342. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  343. crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  344. else
  345. local a = Instance.new("BoxHandleAdornment",crates3[i])
  346. a.Size = Vector3.new(10,500,6)
  347. a.SizeRelativeOffset = Vector3.new(0,135,0)
  348. a.Color3 = Color3.fromRGB(0,255,0)
  349. a.Transparency = 0.5
  350. a.AlwaysOnTop = true
  351. a.Adornee = crates3[i]
  352. a.ZIndex = 1
  353. local b = Instance.new("BoxHandleAdornment",crates3[i])
  354. b.Size = Vector3.new(10,4,6)
  355. b.Color3 = Color3.fromRGB(0,0,255)
  356. b.Transparency = 0.3
  357. b.AlwaysOnTop = true
  358. b.Adornee = crates3[i]
  359. b.ZIndex = 1
  360. end
  361. end
  362. end
  363. end
  364. end
  365. end
  366. end
  367. end
  368. end)
  369.  
  370. TurnoffAF.Name = "TurnoffAF"
  371. TurnoffAF.Parent = TOAFFrame
  372. TurnoffAF.BackgroundColor3 = Color3.new(1, 1, 1)
  373. TurnoffAF.BackgroundTransparency = 0.40000000596046
  374. TurnoffAF.BorderColor3 = Color3.new(1, 1, 1)
  375. TurnoffAF.BorderSizePixel = 1
  376. TurnoffAF.Position = UDim2.new(0, 0, 0, 0)
  377. TurnoffAF.Size = UDim2.new(0, 50, 0, 30)
  378. TurnoffAF.Font = Enum.Font.GothamSemibold
  379. TurnoffAF.Text = "|||||"
  380. TurnoffAF.TextColor3 = Color3.new(0, 0, 0)
  381. TurnoffAF.TextSize = 14
  382. TurnoffAF.MouseButton1Click:connect(function()
  383. stopFarming = true
  384. end)
  385.  
  386. TOAFFrame.Name = "TurnoffAFFrame"
  387. TOAFFrame.Parent = Atilier
  388. TOAFFrame.BackgroundColor3 = Color3.new(0.898039, 0.898039, 0.898039)
  389. TOAFFrame.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
  390. TOAFFrame.Position = UDim2.new(0.18, 0, 0.86, 0)
  391. TOAFFrame.Size = UDim2.new(0, 50, 0, 30)
  392. TOAFFrame.Visible = true
  393.  
  394. CoordFinder.Name = "CoordFinder"
  395. CoordFinder.Parent = Main
  396. CoordFinder.BackgroundColor3 = Color3.new(1, 1, 1)
  397. CoordFinder.BackgroundTransparency = 0.40000000596046
  398. CoordFinder.BorderColor3 = Color3.new(1, 1, 1)
  399. CoordFinder.BorderSizePixel = 1
  400. CoordFinder.Position = UDim2.new(0, 0, .192, 0)
  401. CoordFinder.Size = UDim2.new(0, 200, 0, 50)
  402. CoordFinder.Font = Enum.Font.GothamSemibold
  403. CoordFinder.Text = "CoordFinder"
  404. CoordFinder.TextColor3 = Color3.new(0, 0, 0)
  405. CoordFinder.TextSize = 14
  406. CoordFinder.MouseButton1Click:connect(function()
  407. Frame.Visible = true
  408. CloseFrame.Visible = true
  409. end)
  410.  
  411. Frame.Parent = Atilier
  412. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  413. Frame.BackgroundTransparency = 0.30000001192093
  414. Frame.BorderColor3 = Color3.new(1, 1, 1)
  415. Frame.BorderSizePixel = 2
  416. Frame.Position = UDim2.new(0.373008519, 0, -0.0019919863, 0)
  417. Frame.Size = UDim2.new(0, 315, 0, 87)
  418. Frame.Visible = false
  419.  
  420. X.Name = "X"
  421. X.Parent = Frame
  422. X.BackgroundColor3 = Color3.new(1, 1, 1)
  423. X.BackgroundTransparency = 1
  424. X.BorderSizePixel = 0
  425. X.Position = UDim2.new(-0.00277177105, 0, 0, 0)
  426. X.Size = UDim2.new(0, 107, 0, 87)
  427. X.Font = Enum.Font.GothamSemibold
  428. X.Text = ""
  429. X.TextColor3 = Color3.new(1, 1, 1)
  430. X.TextSize = 20
  431.  
  432. Y.Name = "Y"
  433. Y.Parent = Frame
  434. Y.BackgroundColor3 = Color3.new(1, 1, 1)
  435. Y.BackgroundTransparency = 1
  436. Y.BorderSizePixel = 0
  437. Y.Position = UDim2.new(0.32103774, 0, 0.0114939902, 0)
  438. Y.Size = UDim2.new(0, 106, 0, 86)
  439. Y.Font = Enum.Font.GothamSemibold
  440. Y.Text = ""
  441. Y.TextColor3 = Color3.new(1, 1, 1)
  442. Y.TextSize = 20
  443.  
  444. Z.Name = "Z"
  445. Z.Parent = Frame
  446. Z.BackgroundColor3 = Color3.new(1, 1, 1)
  447. Z.BackgroundTransparency = 1
  448. Z.BorderSizePixel = 0
  449. Z.Position = UDim2.new(0.660317481, 0, 0.022988243, 0)
  450. Z.Size = UDim2.new(0, 107, 0, 85)
  451. Z.Font = Enum.Font.GothamSemibold
  452. Z.Text = ""
  453. Z.TextColor3 = Color3.new(1, 1, 1)
  454. Z.TextSize = 20
  455.  
  456. CloseFrame.Name = "Close Frame"
  457. CloseFrame.Parent = CoordFinder
  458. CloseFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  459. CloseFrame.BackgroundTransparency = 0.10000000149012
  460. CloseFrame.BorderSizePixel = 0
  461. CloseFrame.Position = UDim2.new(0.668228686, 0, 0, 0)
  462. CloseFrame.Size = UDim2.new(0, 60, 0, 51)
  463. CloseFrame.Visible = false
  464.  
  465. Close.Name = "Close"
  466. Close.Parent = CloseFrame
  467. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  468. Close.BackgroundTransparency = 0.60000002384186
  469. Close.BorderSizePixel = 0
  470. Close.Size = UDim2.new(0, 60, 0, 50)
  471. Close.Font = Enum.Font.GothamSemibold
  472. Close.Text = "X"
  473. Close.TextColor3 = Color3.new(0, 0, 0)
  474. Close.TextSize = 20
  475.  
  476. TPtocrates.Name = "TPtocrates"
  477. TPtocrates.Parent = Main
  478. TPtocrates.BackgroundColor3 = Color3.new(1, 1, 1)
  479. TPtocrates.BackgroundTransparency = 0.40000000596046
  480. TPtocrates.BorderColor3 = Color3.new(1, 1, 1)
  481. TPtocrates.BorderSizePixel = 1
  482. TPtocrates.Position = UDim2.new(0, 0, .229, 0)
  483. TPtocrates.Size = UDim2.new(0, 200, 0, 50)
  484. TPtocrates.Font = Enum.Font.GothamSemibold
  485. TPtocrates.Text = "CrateTP"
  486. TPtocrates.TextColor3 = Color3.new(0, 0, 0)
  487. TPtocrates.TextSize = 14
  488. TPtocrates.MouseButton1Click:connect(function()
  489. local crates = workspace:getChildren()
  490. for i=1,#crates do
  491. if crates[i].ClassName == "Model" then
  492. local crates2 = crates[i]:getChildren()
  493. for i=1,#crates2 do
  494. if crates2[i].ClassName == "Model" then
  495. local crates3 = crates2[i]:getChildren()
  496. for i=1,#crates3 do
  497. if crates3[i].ClassName == "MeshPart" then
  498. if crates3[i]:findFirstChild("Smoke") then
  499. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y+15,crates3[i].Position.Z))
  500. wait()
  501. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  502. wait(3)
  503. end
  504. end
  505. end
  506. end
  507. end
  508. end
  509. end
  510. end)
  511.  
  512. -- Functions:
  513.  
  514. function findCar()
  515. local vehicle = workspace.Vehicles:getChildren()
  516. for i=1,#vehicle do
  517. if vehicle[i]:findFirstChild("owner") then
  518. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  519. myCar = vehicle[i]
  520. end
  521. end
  522. end
  523. end
  524. -- Configures speed of vehicle
  525. Speed.MouseButton1Down:connect(function()
  526. findCar()
  527. myCar.Handling.MaxSpeed.Value = inputSpeed.Text
  528. myCar.Handling.SteeringRadiusConstant.Value = 15000
  529. end)
  530. -- Configures torque of vehicle
  531. Torque.MouseButton1Down:connect(function()
  532. findCar()
  533. myCar.Handling.Torque.Value = torqueInput.Text
  534. end)
  535. -- Configures speed of nitro
  536. nitroSpeed.MouseButton1Down:connect(function()
  537. findCar()
  538. myCar.Handling.Nitro.NitroSpeed.Value = nspeedInput.Text
  539. end)
  540. -- Configures force of nitro
  541. nitroForce.MouseButton1Down:connect(function()
  542. findCar()
  543. myCar.Handling.Nitro.NitroForce.Value = nforceInput.Text
  544. end)
  545. -- Configures jump height
  546. jumpHeight.MouseButton1Down:connect(function()
  547. findCar()
  548. myCar.Handling.TurboJump.TurboJumpHeight.Value = jheightInput.Text
  549. end)
  550. -- Finding Coords script
  551. function round(val)
  552. return math.floor( (val * 10^2) + 0.5) / (10^2)
  553. end
  554. Close.MouseButton1Down:connect(function()
  555. Frame.Visible = false
  556. CloseFrame.Visible = false
  557. end)
  558.  
  559. while true do
  560. X.Text = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x)
  561. Y.Text = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y)
  562. Z.Text = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z)
  563. wait()
  564. end
  565. -- Around the World Autofarm
  566.  
  567. waitTime = .2
  568. finalWaitTime = 40
  569. hint = Instance.new('Hint', workspace)
  570. hint.Text = "Started Around the World Script"
  571.  
  572. function getcar()
  573. hint.Text = "Started Function"
  574. vehicle = workspace.Vehicles:getChildren()
  575. hint.Text = "Found Child"
  576. for i=1,#vehicle do
  577. hint.Text = "Started Loop"
  578. if vehicle[i]:findFirstChild("owner") then
  579. hint.Text = "Found FirstChild"
  580. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  581. hint.Text = "Found owner"
  582. vehicle = vehicle[i]
  583. hint.Text = "Assigned vehicle variable"
  584. vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  585. hint.Text = "Set Primary Part and calling FarmLoop"
  586. FarmLoop()
  587. end
  588. end
  589. end
  590. end
  591.  
  592. function FarmLoop()
  593. hint.Text = "Started Farm Loop"
  594. --local keepgoing = true
  595. --while keepgoing = true do
  596. hint.Text = "Teleporting"
  597. vehicle:SetPrimaryPartCFrame(CFrame.new(-447,39,-3639))
  598. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  599. wait(waitTime)
  600. vehicle:SetPrimaryPartCFrame(CFrame.new(2893,39,-3637))
  601. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  602. wait(waitTime)
  603. vehicle:SetPrimaryPartCFrame(CFrame.new(3511,39,-2868))
  604. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  605. wait(waitTime)
  606. vehicle:SetPrimaryPartCFrame(CFrame.new(2506,39,-1548))
  607. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  608. wait(waitTime)
  609. vehicle:SetPrimaryPartCFrame(CFrame.new(1991,39,108))
  610. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  611. wait(waitTime)
  612. vehicle:SetPrimaryPartCFrame(CFrame.new(2167,39,1064))
  613. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  614. wait(waitTime)
  615. vehicle:SetPrimaryPartCFrame(CFrame.new(3135,39,1863))
  616. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  617. wait(waitTime)
  618. vehicle:SetPrimaryPartCFrame(CFrame.new(2638,39,3232))
  619. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  620. wait(waitTime)
  621. vehicle:SetPrimaryPartCFrame(CFrame.new(-1542,39,3442))
  622. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  623. wait(waitTime)
  624. vehicle:SetPrimaryPartCFrame(CFrame.new(-2570,37,3079))
  625. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  626. wait(waitTime)
  627. vehicle:SetPrimaryPartCFrame(CFrame.new(-2743,37,2346))
  628. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  629. wait(waitTime)
  630. vehicle:SetPrimaryPartCFrame(CFrame.new(-2900,37,966))
  631. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  632. wait(waitTime)
  633. vehicle:SetPrimaryPartCFrame(CFrame.new(-2828,39,-182))
  634. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  635. wait(waitTime)
  636. vehicle:SetPrimaryPartCFrame(CFrame.new(-3025,39,-2261))
  637. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  638. wait(waitTime)
  639. vehicle:SetPrimaryPartCFrame(CFrame.new(-2244,39,-3630))
  640. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  641. wait(waitTime)
  642. vehicle:SetPrimaryPartCFrame(CFrame.new(-463,39,-3634))
  643. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  644. wait(waitTime)
  645. vehicle:SetPrimaryPartCFrame(CFrame.new(-2871, 45, -2326))
  646. hint.Text = "Waiting x seconds then restarting loop"
  647.  
  648. ZoneCheck()
  649. --end
  650. end
  651.  
  652. function ZoneCheck()
  653. local xCoord = 0
  654. local zCoord = 0
  655.  
  656. xCoord = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x
  657. zCoord = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z
  658. hint.Text = "Stored X and Z Coords- checking if in zone"
  659.  
  660. if xCoord >= -881 then -- X Coord 1
  661. if xCoord <= -615 then -- X Coord 2
  662. if zCoord >= -3679 then -- Z Coord 1
  663. if zCoord <= -3594 then
  664. hint.Text = "In Zone- Waiting 4 sec til teleport"
  665. wait(4)
  666. FarmLoop()
  667. else
  668. wait(1)
  669. ZoneCheck()
  670. end
  671. else
  672. wait(1)
  673. ZoneCheck()
  674. end
  675. else
  676. wait(1)
  677. ZoneCheck()
  678. end
  679. else
  680. wait(1)
  681. ZoneCheck()
  682. end
  683. end
  684.  
  685. hint.Text = "Calling car function"
  686. getcar()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement