Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.12 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local WorldHax = Instance.new("ScreenGui")
  7. local AutoFarm = Instance.new("Frame")
  8. local Main = Instance.new("Frame")
  9. local Candy = Instance.new("TextLabel")
  10. local Coins = Instance.new("TextLabel")
  11. local Strength = Instance.new("TextLabel")
  12. local Auto = Instance.new("TextButton")
  13. local Auto_2 = Instance.new("TextButton")
  14. local Auto_3 = Instance.new("TextButton")
  15. local BuySword = Instance.new("TextButton")
  16. local BuyDNA = Instance.new("TextButton")
  17. local Sword = Instance.new("TextLabel")
  18. local DNA = Instance.new("TextLabel")
  19. local Sell = Instance.new("TextLabel")
  20. local AutoSell = Instance.new("TextButton")
  21. local Note = Instance.new("TextLabel")
  22. local Bar = Instance.new("Frame")
  23. local Name = Instance.new("TextLabel")
  24. local AutoFarmTab = Instance.new("TextButton")
  25. local Credits = Instance.new("Frame")
  26. local Main_2 = Instance.new("Frame")
  27. local WorldHax_2 = Instance.new("TextLabel")
  28. local Credits_2 = Instance.new("TextLabel")
  29. local Bar_2 = Instance.new("Frame")
  30. local CreditsTab = Instance.new("TextButton")
  31. local Name_2 = Instance.new("TextLabel")
  32. local Teleport = Instance.new("Frame")
  33. local Main_3 = Instance.new("Frame")
  34. local Shop = Instance.new("TextButton")
  35. local Spawn = Instance.new("TextButton")
  36. local CrownShop = Instance.new("TextButton")
  37. local King = Instance.new("TextButton")
  38. local Arena = Instance.new("TextButton")
  39. local Bar_3 = Instance.new("Frame")
  40. local Name_3 = Instance.new("TextLabel")
  41. local TeleportTab = Instance.new("TextButton")
  42.  
  43. --Properties:
  44.  
  45. WorldHax.Name = "WorldHax"
  46. WorldHax.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  47. WorldHax.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  48.  
  49. AutoFarm.Name = "AutoFarm"
  50. AutoFarm.Parent = WorldHax
  51. AutoFarm.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  52. AutoFarm.BorderSizePixel = 0
  53. AutoFarm.Position = UDim2.new(0.190693438, 0, 0.0414601788, 0)
  54. AutoFarm.Size = UDim2.new(0.204379559, 0, 0.0428849906, 0)
  55.  
  56. Main.Name = "Main"
  57. Main.Parent = AutoFarm
  58. Main.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  59. Main.BorderSizePixel = 0
  60. Main.Position = UDim2.new(-6.81195971e-08, 0, 0.999999046, 0)
  61. Main.Size = UDim2.new(1.00000024, 0, 9.85838604, 0)
  62.  
  63. Candy.Name = "Candy"
  64. Candy.Parent = Main
  65. Candy.BackgroundColor3 = Color3.new(1, 1, 1)
  66. Candy.BackgroundTransparency = 1
  67. Candy.Position = UDim2.new(0.0458562002, 0, 0.0528092086, 0)
  68. Candy.Size = UDim2.new(0.656000018, 0, 0.111000001, 0)
  69. Candy.Font = Enum.Font.SourceSans
  70. Candy.Text = "Auto Farm Candy"
  71. Candy.TextColor3 = Color3.new(1, 1, 1)
  72. Candy.TextSize = 20
  73. Candy.TextWrapped = true
  74. Candy.TextXAlignment = Enum.TextXAlignment.Left
  75.  
  76. Coins.Name = "Coins"
  77. Coins.Parent = Main
  78. Coins.BackgroundColor3 = Color3.new(1, 1, 1)
  79. Coins.BackgroundTransparency = 1
  80. Coins.Position = UDim2.new(0.0458561927, 0, 0.163783565, 0)
  81. Coins.Size = UDim2.new(0.655743599, 0, 0.110642344, 0)
  82. Coins.Font = Enum.Font.SourceSans
  83. Coins.Text = "Auto Farm Coins"
  84. Coins.TextColor3 = Color3.new(1, 1, 1)
  85. Coins.TextSize = 20
  86. Coins.TextWrapped = true
  87. Coins.TextXAlignment = Enum.TextXAlignment.Left
  88.  
  89. Strength.Name = "Strength"
  90. Strength.Parent = Main
  91. Strength.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Strength.BackgroundTransparency = 1
  93. Strength.Position = UDim2.new(0.0413919166, 0, 0.270046294, 0)
  94. Strength.Size = UDim2.new(0.656000018, 0, 0.111000001, 0)
  95. Strength.Font = Enum.Font.SourceSans
  96. Strength.Text = "Auto Farm Strength"
  97. Strength.TextColor3 = Color3.new(1, 1, 1)
  98. Strength.TextSize = 20
  99. Strength.TextWrapped = true
  100. Strength.TextXAlignment = Enum.TextXAlignment.Left
  101.  
  102. Auto.Name = "Auto"
  103. Auto.Parent = Main
  104. Auto.BackgroundColor3 = Color3.new(1, 1, 1)
  105. Auto.BackgroundTransparency = 1
  106. Auto.Position = UDim2.new(0.793554902, 0, 0.0487793386, 0)
  107. Auto.Size = UDim2.new(0.133000001, 0, 0.111000001, 0)
  108. Auto.Font = Enum.Font.SourceSans
  109. Auto.Text = "OFF"
  110. Auto.TextColor3 = Color3.new(1, 0, 0)
  111. Auto.TextScaled = true
  112. Auto.TextSize = 14
  113. Auto.TextWrapped = true
  114.  
  115. Auto_2.Name = "Auto"
  116. Auto_2.Parent = Main
  117. Auto_2.BackgroundColor3 = Color3.new(1, 1, 1)
  118. Auto_2.BackgroundTransparency = 1
  119. Auto_2.Position = UDim2.new(0.793554783, 0, 0.16380918, 0)
  120. Auto_2.Size = UDim2.new(0.133000001, 0, 0.102316238, 0)
  121. Auto_2.Font = Enum.Font.SourceSans
  122. Auto_2.Text = "OFF"
  123. Auto_2.TextColor3 = Color3.new(1, 0, 0)
  124. Auto_2.TextScaled = true
  125. Auto_2.TextSize = 14
  126. Auto_2.TextWrapped = true
  127.  
  128. Auto_3.Name = "Auto"
  129. Auto_3.Parent = Main
  130. Auto_3.BackgroundColor3 = Color3.new(1, 1, 1)
  131. Auto_3.BackgroundTransparency = 1
  132. Auto_3.Position = UDim2.new(0.793554902, 0, 0.272600919, 0)
  133. Auto_3.Size = UDim2.new(0.133000001, 0, 0.111000001, 0)
  134. Auto_3.Font = Enum.Font.SourceSans
  135. Auto_3.Text = "OFF"
  136. Auto_3.TextColor3 = Color3.new(1, 0, 0)
  137. Auto_3.TextScaled = true
  138. Auto_3.TextSize = 14
  139. Auto_3.TextWrapped = true
  140.  
  141. BuySword.Name = "BuySword"
  142. BuySword.Parent = Main
  143. BuySword.BackgroundColor3 = Color3.new(1, 1, 1)
  144. BuySword.BackgroundTransparency = 1
  145. BuySword.Position = UDim2.new(0.793554783, 0, 0.592581272, 0)
  146. BuySword.Size = UDim2.new(0.133000001, 0, 0.102316238, 0)
  147. BuySword.Font = Enum.Font.SourceSans
  148. BuySword.Text = "OFF"
  149. BuySword.TextColor3 = Color3.new(1, 0, 0)
  150. BuySword.TextScaled = true
  151. BuySword.TextSize = 14
  152. BuySword.TextWrapped = true
  153.  
  154. BuyDNA.Name = "BuyDNA"
  155. BuyDNA.Parent = Main
  156. BuyDNA.BackgroundColor3 = Color3.new(1, 1, 1)
  157. BuyDNA.BackgroundTransparency = 1
  158. BuyDNA.Position = UDim2.new(0.793554902, 0, 0.701373041, 0)
  159. BuyDNA.Size = UDim2.new(0.133000001, 0, 0.111000001, 0)
  160. BuyDNA.Font = Enum.Font.SourceSans
  161. BuyDNA.Text = "OFF"
  162. BuyDNA.TextColor3 = Color3.new(1, 0, 0)
  163. BuyDNA.TextScaled = true
  164. BuyDNA.TextSize = 14
  165. BuyDNA.TextWrapped = true
  166.  
  167. Sword.Name = "Sword"
  168. Sword.Parent = Main
  169. Sword.BackgroundColor3 = Color3.new(1, 1, 1)
  170. Sword.BackgroundTransparency = 1
  171. Sword.Position = UDim2.new(0.0413919166, 0, 0.58995229, 0)
  172. Sword.Size = UDim2.new(0.656000018, 0, 0.111000001, 0)
  173. Sword.Font = Enum.Font.SourceSans
  174. Sword.Text = "Auto Buy Sword"
  175. Sword.TextColor3 = Color3.new(1, 1, 1)
  176. Sword.TextSize = 20
  177. Sword.TextWrapped = true
  178. Sword.TextXAlignment = Enum.TextXAlignment.Left
  179.  
  180. DNA.Name = "DNA"
  181. DNA.Parent = Main
  182. DNA.BackgroundColor3 = Color3.new(1, 1, 1)
  183. DNA.BackgroundTransparency = 1
  184. DNA.Position = UDim2.new(0.0413919091, 0, 0.700926661, 0)
  185. DNA.Size = UDim2.new(0.655743599, 0, 0.110642344, 0)
  186. DNA.Font = Enum.Font.SourceSans
  187. DNA.Text = "Auto Buy DNA"
  188. DNA.TextColor3 = Color3.new(1, 1, 1)
  189. DNA.TextSize = 20
  190. DNA.TextWrapped = true
  191. DNA.TextXAlignment = Enum.TextXAlignment.Left
  192.  
  193. Sell.Name = "Sell"
  194. Sell.Parent = Main
  195. Sell.BackgroundColor3 = Color3.new(1, 1, 1)
  196. Sell.BackgroundTransparency = 1
  197. Sell.Position = UDim2.new(0.036927633, 0, 0.807189405, 0)
  198. Sell.Size = UDim2.new(0.656000018, 0, 0.111000001, 0)
  199. Sell.Font = Enum.Font.SourceSans
  200. Sell.Text = "Auto Sell"
  201. Sell.TextColor3 = Color3.new(1, 1, 1)
  202. Sell.TextSize = 20
  203. Sell.TextWrapped = true
  204. Sell.TextXAlignment = Enum.TextXAlignment.Left
  205.  
  206. AutoSell.Name = "AutoSell"
  207. AutoSell.Parent = Main
  208. AutoSell.BackgroundColor3 = Color3.new(1, 1, 1)
  209. AutoSell.BackgroundTransparency = 1
  210. AutoSell.Position = UDim2.new(0.793554842, 0, 0.814035058, 0)
  211. AutoSell.Size = UDim2.new(0.133000001, 0, 0.102316238, 0)
  212. AutoSell.Font = Enum.Font.SourceSans
  213. AutoSell.Text = "OFF"
  214. AutoSell.TextColor3 = Color3.new(1, 0, 0)
  215. AutoSell.TextScaled = true
  216. AutoSell.TextSize = 14
  217. AutoSell.TextWrapped = true
  218.  
  219. Note.Name = "Note"
  220. Note.Parent = Main
  221. Note.BackgroundColor3 = Color3.new(1, 1, 1)
  222. Note.BorderSizePixel = 0
  223. Note.Position = UDim2.new(0, 0, 0.496211767, 0)
  224. Note.Size = UDim2.new(0.999999821, 0, 0.00262909429, 0)
  225. Note.Font = Enum.Font.SourceSans
  226. Note.Text = ""
  227. Note.TextColor3 = Color3.new(1, 1, 1)
  228. Note.TextSize = 20
  229. Note.TextWrapped = true
  230. Note.TextXAlignment = Enum.TextXAlignment.Left
  231.  
  232. Bar.Name = "Bar"
  233. Bar.Parent = AutoFarm
  234. Bar.BackgroundColor3 = Color3.new(0.666667, 1, 0)
  235. Bar.BorderSizePixel = 0
  236. Bar.Position = UDim2.new(0, 0, 1, 0)
  237. Bar.Size = UDim2.new(1, 0, 0.09, 0)
  238.  
  239. Name.Name = "Name"
  240. Name.Parent = AutoFarm
  241. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  242. Name.BackgroundTransparency = 1
  243. Name.Position = UDim2.new(0.325892866, 0, 0.363636374, 0)
  244. Name.Size = UDim2.new(0.34375, 0, 0.227272734, 0)
  245. Name.Font = Enum.Font.SourceSans
  246. Name.Text = "Auto Farm"
  247. Name.TextColor3 = Color3.new(1, 1, 1)
  248. Name.TextSize = 20
  249. Name.TextWrapped = true
  250.  
  251. AutoFarmTab.Name = "AutoFarmTab"
  252. AutoFarmTab.Parent = AutoFarm
  253. AutoFarmTab.BackgroundColor3 = Color3.new(1, 1, 1)
  254. AutoFarmTab.BackgroundTransparency = 1
  255. AutoFarmTab.Position = UDim2.new(0.901785731, 0, 0, 0)
  256. AutoFarmTab.Size = UDim2.new(0.0982142836, 0, 0.590909064, 0)
  257. AutoFarmTab.Font = Enum.Font.SourceSans
  258. AutoFarmTab.Text = "-"
  259. AutoFarmTab.TextColor3 = Color3.new(1, 1, 1)
  260. AutoFarmTab.TextSize = 30
  261. AutoFarmTab.TextWrapped = true
  262.  
  263. Credits.Name = "Credits"
  264. Credits.Parent = WorldHax
  265. Credits.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  266. Credits.BorderSizePixel = 0
  267. Credits.Position = UDim2.new(0.604693413, 0, 0.0414601788, 0)
  268. Credits.Size = UDim2.new(0.204379559, 0, 0.0428849906, 0)
  269.  
  270. Main_2.Name = "Main"
  271. Main_2.Parent = Credits
  272. Main_2.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  273. Main_2.BorderSizePixel = 0
  274. Main_2.Position = UDim2.new(0, 0, 1, 0)
  275. Main_2.Size = UDim2.new(1, 0, 2.31818175, 0)
  276.  
  277. WorldHax_2.Name = "WorldHax"
  278. WorldHax_2.Parent = Main_2
  279. WorldHax_2.BackgroundColor3 = Color3.new(1, 1, 1)
  280. WorldHax_2.BackgroundTransparency = 1
  281. WorldHax_2.Position = UDim2.new(0.0758928582, 0, 0.549019635, 0)
  282. WorldHax_2.Size = UDim2.new(0.419642866, 0, 0.274509817, 0)
  283. WorldHax_2.Font = Enum.Font.SourceSans
  284. WorldHax_2.Text = "WorldHax#1413"
  285. WorldHax_2.TextColor3 = Color3.new(1, 1, 1)
  286. WorldHax_2.TextSize = 17
  287. WorldHax_2.TextWrapped = true
  288. WorldHax_2.TextXAlignment = Enum.TextXAlignment.Left
  289.  
  290. Credits_2.Name = "Credits"
  291. Credits_2.Parent = Main_2
  292. Credits_2.BackgroundColor3 = Color3.new(1, 1, 1)
  293. Credits_2.BackgroundTransparency = 1
  294. Credits_2.Position = UDim2.new(0.0758928582, 0, 0.137254909, 0)
  295. Credits_2.Size = UDim2.new(0.25, 0, 0.411764711, 0)
  296. Credits_2.Font = Enum.Font.SourceSans
  297. Credits_2.Text = "Credits"
  298. Credits_2.TextColor3 = Color3.new(1, 1, 1)
  299. Credits_2.TextScaled = true
  300. Credits_2.TextSize = 14
  301. Credits_2.TextWrapped = true
  302. Credits_2.TextXAlignment = Enum.TextXAlignment.Left
  303.  
  304. Bar_2.Name = "Bar"
  305. Bar_2.Parent = Credits
  306. Bar_2.BackgroundColor3 = Color3.new(0.666667, 1, 0)
  307. Bar_2.BorderSizePixel = 0
  308. Bar_2.Position = UDim2.new(0, 0, 1, 0)
  309. Bar_2.Size = UDim2.new(1, 0, 0.09, 0)
  310.  
  311. CreditsTab.Name = "CreditsTab"
  312. CreditsTab.Parent = Credits
  313. CreditsTab.BackgroundColor3 = Color3.new(1, 1, 1)
  314. CreditsTab.BackgroundTransparency = 1
  315. CreditsTab.Position = UDim2.new(0.901785731, 0, 0, 0)
  316. CreditsTab.Size = UDim2.new(0.0982142836, 0, 0.590909064, 0)
  317. CreditsTab.Font = Enum.Font.SourceSans
  318. CreditsTab.Text = "-"
  319. CreditsTab.TextColor3 = Color3.new(1, 1, 1)
  320. CreditsTab.TextSize = 30
  321. CreditsTab.TextWrapped = true
  322.  
  323. Name_2.Name = "Name"
  324. Name_2.Parent = Credits
  325. Name_2.BackgroundColor3 = Color3.new(1, 1, 1)
  326. Name_2.BackgroundTransparency = 1
  327. Name_2.Position = UDim2.new(0.325892866, 0, 0.363636374, 0)
  328. Name_2.Size = UDim2.new(0.34375, 0, 0.227272734, 0)
  329. Name_2.Font = Enum.Font.SourceSans
  330. Name_2.Text = "Credits"
  331. Name_2.TextColor3 = Color3.new(1, 1, 1)
  332. Name_2.TextSize = 20
  333. Name_2.TextWrapped = true
  334.  
  335. Teleport.Name = "Teleport"
  336. Teleport.Parent = WorldHax
  337. Teleport.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  338. Teleport.BorderSizePixel = 0
  339. Teleport.Position = UDim2.new(0.397693455, 0, 0.0414601788, 0)
  340. Teleport.Size = UDim2.new(0.204379559, 0, 0.0428849906, 0)
  341.  
  342. Main_3.Name = "Main"
  343. Main_3.Parent = Teleport
  344. Main_3.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  345. Main_3.BorderSizePixel = 0
  346. Main_3.Position = UDim2.new(0, 0, 0.999999762, 0)
  347. Main_3.Size = UDim2.new(1, 0, 4.89402866, 0)
  348.  
  349. Shop.Name = "Shop"
  350. Shop.Parent = Main_3
  351. Shop.BackgroundColor3 = Color3.new(1, 1, 1)
  352. Shop.BackgroundTransparency = 1
  353. Shop.Position = UDim2.new(0.0491071418, 0, 0.110527799, 0)
  354. Shop.Size = UDim2.new(0.892857134, 0, 0.151860371, 0)
  355. Shop.Font = Enum.Font.SourceSans
  356. Shop.Text = "Shop"
  357. Shop.TextColor3 = Color3.new(1, 1, 1)
  358. Shop.TextSize = 20
  359. Shop.TextXAlignment = Enum.TextXAlignment.Left
  360.  
  361. Spawn.Name = "Spawn"
  362. Spawn.Parent = Main_3
  363. Spawn.BackgroundColor3 = Color3.new(1, 1, 1)
  364. Spawn.BackgroundTransparency = 1
  365. Spawn.Position = UDim2.new(0.0535714291, 0, 0.256211996, 0)
  366. Spawn.Size = UDim2.new(0.892857134, 0, 0.151860371, 0)
  367. Spawn.Font = Enum.Font.SourceSans
  368. Spawn.Text = "Spawn"
  369. Spawn.TextColor3 = Color3.new(1, 1, 1)
  370. Spawn.TextSize = 20
  371. Spawn.TextXAlignment = Enum.TextXAlignment.Left
  372.  
  373. CrownShop.Name = "CrownShop"
  374. CrownShop.Parent = Main_3
  375. CrownShop.BackgroundColor3 = Color3.new(1, 1, 1)
  376. CrownShop.BackgroundTransparency = 1
  377. CrownShop.Position = UDim2.new(0.0535714291, 0, 0.563247859, 0)
  378. CrownShop.Size = UDim2.new(0.892857134, 0, 0.151860371, 0)
  379. CrownShop.Font = Enum.Font.SourceSans
  380. CrownShop.Text = "Crown Shop"
  381. CrownShop.TextColor3 = Color3.new(1, 1, 1)
  382. CrownShop.TextSize = 20
  383. CrownShop.TextXAlignment = Enum.TextXAlignment.Left
  384.  
  385. King.Name = "King"
  386. King.Parent = Main_3
  387. King.BackgroundColor3 = Color3.new(1, 1, 1)
  388. King.BackgroundTransparency = 1
  389. King.Position = UDim2.new(0.0535714291, 0, 0.414702624, 0)
  390. King.Size = UDim2.new(0.892857134, 0, 0.151860371, 0)
  391. King.Font = Enum.Font.SourceSans
  392. King.Text = "King Of The Hill"
  393. King.TextColor3 = Color3.new(1, 1, 1)
  394. King.TextSize = 20
  395. King.TextXAlignment = Enum.TextXAlignment.Left
  396.  
  397. Arena.Name = "Arena"
  398. Arena.Parent = Main_3
  399. Arena.BackgroundColor3 = Color3.new(1, 1, 1)
  400. Arena.BackgroundTransparency = 1
  401. Arena.Position = UDim2.new(0.0535714291, 0, 0.712247193, 0)
  402. Arena.Size = UDim2.new(0.892857134, 0, 0.151860371, 0)
  403. Arena.Font = Enum.Font.SourceSans
  404. Arena.Text = "Arena"
  405. Arena.TextColor3 = Color3.new(1, 1, 1)
  406. Arena.TextSize = 20
  407. Arena.TextXAlignment = Enum.TextXAlignment.Left
  408.  
  409. TeleportTab.Name = "TeleportTab"
  410. TeleportTab.Parent = Teleport
  411. TeleportTab.BackgroundColor3 = Color3.new(1, 1, 1)
  412. TeleportTab.BackgroundTransparency = 1
  413. TeleportTab.Position = UDim2.new(0.901785731, 0, 0, 0)
  414. TeleportTab.Size = UDim2.new(0.0982142836, 0, 0.590909064, 0)
  415. TeleportTab.Font = Enum.Font.SourceSans
  416. TeleportTab.Text = "-"
  417. TeleportTab.TextColor3 = Color3.new(1, 1, 1)
  418. TeleportTab.TextSize = 30
  419. TeleportTab.TextWrapped = true
  420.  
  421. Bar_3.Name = "Bar"
  422. Bar_3.Parent = Teleport
  423. Bar_3.BackgroundColor3 = Color3.new(0.666667, 1, 0)
  424. Bar_3.BorderSizePixel = 0
  425. Bar_3.Position = UDim2.new(0, 0, 1, 0)
  426. Bar_3.Size = UDim2.new(1, 0, 0.09, 0)
  427.  
  428. Name_3.Name = "Name"
  429. Name_3.Parent = Teleport
  430. Name_3.BackgroundColor3 = Color3.new(1, 1, 1)
  431. Name_3.BackgroundTransparency = 1
  432. Name_3.Position = UDim2.new(0.325892866, 0, 0.363636374, 0)
  433. Name_3.Size = UDim2.new(0.34375, 0, 0.227272734, 0)
  434. Name_3.Font = Enum.Font.SourceSans
  435. Name_3.Text = "Teleports"
  436. Name_3.TextColor3 = Color3.new(1, 1, 1)
  437. Name_3.TextSize = 20
  438. Name_3.TextWrapped = true
  439.  
  440. WorldHax.ResetOnSpawn = false
  441.  
  442. Credits.Active = true
  443. Credits.Draggable = true
  444.  
  445. Teleport.Active = true
  446. Teleport.Draggable = true
  447.  
  448. AutoFarm.Active = true
  449. AutoFarm.Draggable = true
  450.  
  451. AutoFarmTab.MouseButton1Click:Connect(function()
  452. Main.Visible = not Main.Visible
  453. end)
  454.  
  455. TeleportTab.MouseButton1Click:Connect(function()
  456. Main_3.Visible = not Main_3.Visible
  457. end)
  458.  
  459. CreditsTab.MouseButton1Click:Connect(function()
  460. Main_2.Visible = not Main_2.Visible
  461. end)
  462.  
  463. sell = 1
  464. sellactiv = false
  465. AutoSell.MouseButton1Click:Connect(function()
  466. if sell == 1 then
  467. sell = 0
  468. sellactiv = true
  469. AutoSell.Text = "ON"
  470. AutoSell.TextColor3 = Color3.new(0,255,0)
  471. while wait(.7) do
  472. if sellactiv then
  473. if game.Players.LocalPlayer.PlayerGui.Gui.Submenus.BackpackFull.Visible == true then
  474. lastCF = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  475. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.Sell.CFrame
  476. wait(.7)
  477. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lastCF
  478. end
  479. else
  480. print("Failed")
  481. end
  482. end
  483. else
  484. sell = 1
  485. sellactiv = false
  486. AutoSell.Text = "OFF"
  487. AutoSell.TextColor3 = Color3.new(255,0,0)
  488. end
  489. end)
  490.  
  491. dna = 1
  492. dnaactiv = false
  493. BuyDNA.MouseButton1Click:Connect(function()
  494. if dna == 1 then
  495. dna = 0
  496. dnaactiv = true
  497. BuyDNA.Text = "ON"
  498. BuyDNA.TextColor3 = Color3.new(0,255,0)
  499. while wait(.7) do
  500. if dnaactiv then
  501. game.ReplicatedStorage.Events.BuyAll:FireServer("Backpacks")
  502. else
  503. print("Failed")
  504. end
  505. end
  506. else
  507. dna = 1
  508. dnaactiv = false
  509. BuyDNA.Text = "OFF"
  510. BuyDNA.TextColor3 = Color3.new(255,0,0)
  511. end
  512. end)
  513.  
  514. candy = 1
  515. candyactiv = false
  516. Auto.MouseButton1Click:Connect(function()
  517. if candy == 1 then
  518. candy = 0
  519. candyactiv = true
  520. Auto.Text = "ON"
  521. Auto.TextColor3 = Color3.new(0,255,0)
  522. while wait() do
  523. wait(.1)
  524. if candyactiv then
  525. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.CandyHolder.Candy.CFrame
  526. else
  527. print("Failed")
  528. end
  529. end
  530. else
  531. candy = 1
  532. candyactiv = false
  533. Auto.Text = "OFF"
  534. Auto.TextColor3 = Color3.new(255,0,0)
  535. end
  536. end)
  537.  
  538. coin = 1
  539. coinactiv = false
  540. Auto_2.MouseButton1Click:Connect(function()
  541. if coin == 1 then
  542. coin = 0
  543. coinactiv = true
  544. Auto_2.Text = "ON"
  545. Auto_2.TextColor3 = Color3.new(0,255,0)
  546. while wait(.1) do
  547. if coinactiv then
  548. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.CoinsHolder.Coin.CFrame
  549. else
  550. print("Failed")
  551. end
  552. end
  553. else
  554. coin = 1
  555. coinactiv = false
  556. Auto_2.Text = "OFF"
  557. Auto_2.TextColor3 = Color3.new(255,0,0)
  558. end
  559. end)
  560.  
  561. strength = 1
  562. strengthactiv = false
  563. Auto_3.MouseButton1Click:Connect(function()
  564. if strength == 1 then
  565. strength = 0
  566. strengthactiv = true
  567. Auto_3.Text = "ON"
  568. Auto_3.TextColor3 = Color3.new(0,255,0)
  569. while wait(.2) do
  570. if strengthactiv then
  571. game.ReplicatedStorage.Events.Clicked:FireServer()
  572. end
  573. end
  574. else
  575. strength = 1
  576. strengthactiv = false
  577. Auto_3.Text = "OFF"
  578. Auto_3.TextColor3 = Color3.new(255,0,0)
  579. end
  580. end)
  581.  
  582. sword = 1
  583. swordactive = false
  584. BuySword.MouseButton1Click:Connect(function()
  585. if sword == 1 then
  586. sword = 0
  587. swordactive = true
  588. BuySword.Text = "ON"
  589. BuySword.TextColor3 = Color3.new(0,255,0)
  590. while wait(.7) do
  591. if swordactive then
  592. game.ReplicatedStorage.Events.BuyAll:FireServer("Swords")
  593. else
  594. print("Failed")
  595. end
  596. end
  597. else
  598. sword = 1
  599. swordactive = false
  600. BuySword.Text = "OFF"
  601. BuySword.TextColor3 = Color3.new(255,0,0)
  602. end
  603. end)
  604.  
  605. CrownShop.MouseButton1Click:Connect(function()
  606. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.CrownShop.CFrame
  607. end)
  608.  
  609. King.MouseButton1Click:Connect(function()
  610. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.KingArea.CFrame
  611. end)
  612.  
  613. Shop.MouseButton1Click:Connect(function()
  614. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.Shop.CFrame
  615. end)
  616.  
  617.  
  618. Arena.MouseButton1Click:Connect(function()
  619. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.ArenaBase.CFrame
  620. end)
  621.  
  622. Spawn.MouseButton1Click:Connect(function()
  623. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Locations.FirstSpawns.FirstSpawn.CFrame
  624. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement