Advertisement
thelemonmaster101

God Tycoon Script

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