sasod35

God Tycoon Script 2.0

Apr 11th, 2023
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.04 KB | None | 0 0
  1. -- made by Counter#2747 and xHeptc --
  2.  
  3. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  4. local Window = Library.CreateLib("GT", "BloodTheme")
  5. local Tab1 = Window:NewTab("Misc")
  6. local Tab2 = Window:NewTab("Tools")
  7. local Tab3 = Window:NewTab("Teleports")
  8. local Section4 = Tab1:NewSection("Misc")
  9. local Section5 = Tab2:NewSection("Tools")
  10. local Section6 = Tab3:NewSection("Teleports")
  11.  
  12. Section4:NewToggle("Auto Collect", "Automatically collects cash", function(state)
  13. if state then
  14. enabled = true
  15.  
  16. local tycoons = workspace.Tycoons.Tycoons
  17. local plrName = game.Players.LocalPlayer.Name
  18.  
  19. for i,tycoon in pairs(tycoons:GetChildren()) do
  20. if tostring(tycoon.Owner.Value) == plrName then
  21. local playerTycoon = tycoons[tycoon.Name]
  22.  
  23. local giver = playerTycoon.Essentials.Giver
  24. local currencyToCollect = playerTycoon.CurrencyToCollect
  25.  
  26. currencyToCollect.Changed:Connect(function()
  27. if enabled == true then
  28. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, giver, 0)
  29. wait(0.1)
  30. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, giver, 1)
  31. end
  32. end)
  33. end
  34. end
  35. else
  36. enabled = false
  37. end
  38. end)
  39.  
  40. Section4:NewToggle("Laser Removal", "Removes lasers from owner only door", function(state)
  41. if state then
  42. local tycoons = workspace.Tycoons.Tycoons
  43. local plrName = game.Players.LocalPlayer.Name
  44.  
  45. for i,tycoon in pairs(tycoons:GetChildren()) do
  46. if tostring(tycoon.Owner.Value) ~= plrName then
  47. if tycoon.PurchasedObjects:FindFirstChild("OwnerOnlyDoor") then
  48. local owner = Instance.new("StringValue")
  49. owner.Name = "Owner"
  50. owner.Parent = tycoon.PurchasedObjects.OwnerOnlyDoor
  51. owner.Value = tostring(tycoon.Name)
  52. tycoon.PurchasedObjects:FindFirstChild("OwnerOnlyDoor").Parent = game.ReplicatedStorage
  53. end
  54. end
  55. end
  56. else
  57. for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
  58. if v.Name == "OwnerOnlyDoor" then
  59. local tycoon = game.Workspace.Tycoons.Tycoons:FindFirstChild(v.Owner.Value)
  60. v.Parent = tycoon.PurchasedObjects
  61. end
  62. end
  63. end
  64. end)
  65.  
  66. Section4:NewToggle("Auto Buy", "Automatically purchases objects you can afford", function(state)
  67. if state then
  68. enabled1 = true
  69. local cash = game.Players.LocalPlayer.leaderstats.Cash
  70.  
  71. cash.Changed:Connect(function()
  72. local tycoons = workspace.Tycoons.Tycoons
  73. local plrName = game.Players.LocalPlayer.Name
  74.  
  75. for i,tycoon in pairs(tycoons:GetChildren()) do
  76. if tostring(tycoon.Owner.Value) == plrName then
  77. local playerTycoon = tycoons[tycoon.Name]
  78.  
  79. print(playerTycoon)
  80.  
  81. local buttons = playerTycoon:FindFirstChild("Buttons")
  82.  
  83. for i,button in pairs(buttons:GetChildren()) do
  84. if enabled1 == true then
  85. if button:FindFirstChild("Gamepass") then
  86. -- button is a gamepass, not purchasable via cash --
  87. else
  88. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, button.Head, 0)
  89. wait(0.1)
  90. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, button.Head, 1)
  91. end
  92. end
  93. end
  94. end
  95. end
  96. end)
  97. else
  98. enabled1 = false
  99. end
  100. end)
  101.  
  102. Section4:NewToggle("Auto Click", "Automatically clicks button", function(state)
  103. if state then
  104.  
  105. _G.autoClick = true
  106.  
  107. local tycoons = workspace.Tycoons.Tycoons
  108. local plrName = game.Players.LocalPlayer.Name
  109.  
  110. for i,tycoon in pairs(tycoons:GetChildren()) do
  111. if tostring(tycoon.Owner.Value) == plrName then
  112. local playerTycoon = tycoons[tycoon.Name]
  113.  
  114. while _G.autoClick == true do
  115. wait()
  116. fireclickdetector(playerTycoon.PurchasedObjects.Mine.Model.Clicker.ClickDetector)
  117. end
  118. end
  119. end
  120. else
  121. _G.autoClick = false
  122. end
  123. end)
  124.  
  125. Section5:NewButton("Poison Tools", "Gives the tools of the poison tycoon", function()
  126. local tycoons = workspace.Tycoons.Tycoons
  127. local plrName = game.Players.LocalPlayer.Name
  128.  
  129. for i,tycoon in pairs(tycoons:GetChildren()) do
  130. if tycoon.Name == "Poison" then
  131. local poisonPurchases = tycoon.PurchasedObjects
  132.  
  133. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  134. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  135. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  136. wait(0.1)
  137. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  138. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  139. elseif poisonPurchases:FindFirstChild("Giver1") then
  140. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  141. wait(0.1)
  142. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  143. elseif poisonPurchases:FindFirstChild("Giver2") then
  144. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  145. wait(0.1)
  146. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  147. else
  148. print("Tycoon has no tools")
  149. end
  150. end
  151. end
  152. end)
  153.  
  154. Section5:NewButton("Nature Tools", "Gives the tools of the nature tycoon", function()
  155. local tycoons = workspace.Tycoons.Tycoons
  156. local plrName = game.Players.LocalPlayer.Name
  157.  
  158. for i,tycoon in pairs(tycoons:GetChildren()) do
  159. if tycoon.Name == "Nature" then
  160. local poisonPurchases = tycoon.PurchasedObjects
  161.  
  162. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  163. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  164. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  165. wait(0.1)
  166. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  167. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  168. elseif poisonPurchases:FindFirstChild("Giver1") then
  169. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  170. wait(0.1)
  171. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  172. elseif poisonPurchases:FindFirstChild("Giver2") then
  173. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  174. wait(0.1)
  175. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  176. else
  177. print("Tycoon has no tools")
  178. end
  179. end
  180. end
  181. end)
  182.  
  183. Section5:NewButton("Death Tools", "Gives the tools of the death tycoon", function()
  184. local tycoons = workspace.Tycoons.Tycoons
  185. local plrName = game.Players.LocalPlayer.Name
  186.  
  187. for i,tycoon in pairs(tycoons:GetChildren()) do
  188. if tycoon.Name == "Death" then
  189. local poisonPurchases = tycoon.PurchasedObjects
  190.  
  191. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  192. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  193. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  194. wait(0.1)
  195. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  196. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  197. elseif poisonPurchases:FindFirstChild("Giver1") then
  198. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  199. wait(0.1)
  200. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  201. elseif poisonPurchases:FindFirstChild("Giver2") then
  202. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  203. wait(0.1)
  204. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  205. else
  206. print("Tycoon has no tools")
  207. end
  208. end
  209. end
  210. end)
  211.  
  212. Section5:NewButton("Lightning Tools", "Gives the tools of the lightning tycoon", function()
  213. local tycoons = workspace.Tycoons.Tycoons
  214. local plrName = game.Players.LocalPlayer.Name
  215.  
  216. for i,tycoon in pairs(tycoons:GetChildren()) do
  217. if tycoon.Name == "Lightning" then
  218. local poisonPurchases = tycoon.PurchasedObjects
  219.  
  220. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  221. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  222. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  223. wait(0.1)
  224. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  225. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  226. elseif poisonPurchases:FindFirstChild("Giver1") then
  227. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  228. wait(0.1)
  229. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  230. elseif poisonPurchases:FindFirstChild("Giver2") then
  231. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  232. wait(0.1)
  233. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  234. else
  235. print("Tycoon has no tools")
  236. end
  237. end
  238. end
  239. end)
  240.  
  241. Section5:NewButton("Ice Tools", "Gives the tools of the death tycoon", function()
  242. local tycoons = workspace.Tycoons.Tycoons
  243. local plrName = game.Players.LocalPlayer.Name
  244.  
  245. for i,tycoon in pairs(tycoons:GetChildren()) do
  246. if tycoon.Name == "Ice" then
  247. local poisonPurchases = tycoon.PurchasedObjects
  248.  
  249. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  250. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  251. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  252. wait(0.1)
  253. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  254. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  255. elseif poisonPurchases:FindFirstChild("Giver1") then
  256. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  257. wait(0.1)
  258. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  259. elseif poisonPurchases:FindFirstChild("Giver2") then
  260. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  261. wait(0.1)
  262. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  263. else
  264. print("Tycoon has no tools")
  265. end
  266. end
  267. end
  268. end)
  269.  
  270. Section5:NewButton("Wind Tools", "Gives the tools of the wind tycoon", function()
  271. local tycoons = workspace.Tycoons.Tycoons
  272. local plrName = game.Players.LocalPlayer.Name
  273.  
  274. for i,tycoon in pairs(tycoons:GetChildren()) do
  275. if tycoon.Name == "Wind" then
  276. local poisonPurchases = tycoon.PurchasedObjects
  277.  
  278. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  279. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  280. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  281. wait(0.1)
  282. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  283. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  284. elseif poisonPurchases:FindFirstChild("Giver1") then
  285. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  286. wait(0.1)
  287. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  288. elseif poisonPurchases:FindFirstChild("Giver2") then
  289. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  290. wait(0.1)
  291. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  292. else
  293. print("Tycoon has no tools")
  294. end
  295. end
  296. end
  297. end)
  298.  
  299. Section5:NewButton("Fire Tools", "Gives the tools of the fire tycoon", function()
  300. local tycoons = workspace.Tycoons.Tycoons
  301. local plrName = game.Players.LocalPlayer.Name
  302.  
  303. for i,tycoon in pairs(tycoons:GetChildren()) do
  304. if tycoon.Name == "Fire" then
  305. local poisonPurchases = tycoon.PurchasedObjects
  306.  
  307. if poisonPurchases:FindFirstChild("Giver1") and poisonPurchases:FindFirstChild("Giver2") then
  308. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  309. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  310. wait(0.1)
  311. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  312. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  313. elseif poisonPurchases:FindFirstChild("Giver1") then
  314. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 0)
  315. wait(0.1)
  316. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver1.Giver, 1)
  317. elseif poisonPurchases:FindFirstChild("Giver2") then
  318. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 0)
  319. wait(0.1)
  320. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, poisonPurchases.Giver2.Giver, 1)
  321. else
  322. print("Tycoon has no tools")
  323. end
  324. end
  325. end
  326. end)
  327.  
  328. Section6:NewButton("Ice Tycoon", "Teleports you to the ice tycoon", function()
  329. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(277.608276, 140.479126, -171.713165)
  330. end)
  331.  
  332. Section6:NewButton("Nature Tycoon", "Teleports you to the nature tycoon", function()
  333. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(75.3429565, 138.334717, 35.1716614)
  334. end)
  335.  
  336. Section6:NewButton("Death Tycoon", "Teleports you to the death tycoon", function()
  337. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(76.4955673, 140.269302, -378.061646)
  338. end)
  339.  
  340. Section6:NewButton("Lightning Tycoon", "Teleports you to the lightning tycoon", function()
  341. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(215.946243, 140.478531, -312.939697)
  342. end)
  343.  
  344. Section6:NewButton("Light Tycoon", "Teleports you to the light tycoon", function()
  345. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(215.563568, 140.454056, -29.9981823)
  346. end)
  347.  
  348. Section6:NewButton("Poison Tycoon", "Teleports you to the poison tycoon", function()
  349. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-64.9857178, 140.372375, -315.127991)
  350. end)
  351.  
  352. Section6:NewButton("Fire Tycoon", "Teleports you to the fire tycoon", function()
  353. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-126.079498, 140.422226, -174.646118)
  354. end)
  355.  
  356. Section6:NewButton("Wind Tycoon", "Teleports you to the wind tycoon", function()
  357. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-68.536377, 140.464355, -30.7801437)
  358. end)
Add Comment
Please, Sign In to add comment