Advertisement
iiDaCyborgxX

Mall Tycoon

Apr 3rd, 2021
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.38 KB | None | 0 0
  1.  
  2. local w = library:CreateWindow("Mall Tycoon")
  3. local b = w:CreateFolder("AutoFarm")
  4. local e = w:CreateFolder("Mix")
  5. local u = w:CreateFolder("Credits")
  6.  
  7. --Toggle
  8. b:Toggle("AutoCollectButtons",function(bool)
  9. shared.toggle = bool
  10. AutoBuy = bool
  11. end)
  12.  
  13. b:Toggle("AutoSelectStore",function(bool)
  14. shared.toggle = bool
  15. AutoSelectStore = bool
  16. end)
  17.  
  18. b:Toggle("AutoRebirth",function(bool)
  19. shared.toggle = bool
  20. AutoRebirth = bool
  21. end)
  22.  
  23. e:Toggle("AntiAfk",function(bool)
  24. shared.toggle = bool
  25. AntiAfk = bool
  26. end)
  27.  
  28. --Credits
  29. u:Button("maxgat5#8395",function()
  30. setclipboard("maxgat5#8395")
  31. end)
  32.  
  33. u:Button("Discrod Server",function()
  34. setclipboard("https://discord.gg/K4txdRSVfq")
  35. end)
  36.  
  37. while true do
  38. wait()
  39. if AutoSelectStore == true then
  40. local Store = game.Players.LocalPlayer.PlayerGui.Interface.PickStore.PickStore.Background.RoundedBackground:GetChildren()
  41. for i,v in pairs(Store) do
  42. if v.ClassName == "ImageButton" then
  43. game:GetService("ReplicatedStorage").RemoteEvent:FireServer("AttemptPurchaseStore",v.StoreTitle.Text)
  44. end
  45. end
  46. end
  47.  
  48. if AutoRebirth == true then
  49. game:GetService("ReplicatedStorage").RemoteEvent:FireServer("RequestRebirth")
  50. end
  51.  
  52. if AutoBuy == true then
  53. if game:GetService("CoreGui"):FindFirstChild("PurchasePromptApp") then
  54. game:GetService("CoreGui").PurchasePromptApp:Destroy()
  55. end
  56.  
  57. local tycoon = game.Workspace:GetChildren()
  58. for i,v in pairs(tycoon) do
  59. if v.Name == ("Tycoon"..game.Players.LocalPlayer.Name) then
  60. local tycoon1 = v:GetChildren()
  61. for i,v1 in pairs(tycoon1) do
  62. local button = v1:GetChildren()
  63. for i,v2 in pairs(button) do
  64. local button1 = v2:GetChildren()
  65. for i,v3 in pairs(button1) do
  66. if v3.Name == "Button" then
  67. if v3.ClassName == "MeshPart" then
  68. v3.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  69. v3.CanCollide = false
  70. end
  71. end
  72. local button2 = v3:GetChildren()
  73. for i,v4 in pairs(button2) do
  74. if v4.Name == "Button" then
  75. if v4.ClassName == "MeshPart" then
  76. v4.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  77. v4.CanCollide = false
  78. end
  79. end
  80. local button3 = v4:GetChildren()
  81. for i,v5 in pairs(button3) do
  82. if v5.Name == "Button" then
  83. if v5.ClassName == "MeshPart" then
  84. v5.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  85. v5.CanCollide = false
  86. end
  87. end
  88. local button4 = v5:GetChildren()
  89. for i,v6 in pairs(button4) do
  90. if v6.Name == "Button" then
  91. if v6.ClassName == "MeshPart" then
  92. v6.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  93. v6.CanCollide = false
  94. end
  95. end
  96. local button5 = v6:GetChildren()
  97. for i,v7 in pairs(button5) do
  98. if v7.Name == "Button" then
  99. if v7.ClassName == "MeshPart" then
  100. v7.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  101. v7.CanCollide = false
  102. end
  103. end
  104. local button6 = v7:GetChildren()
  105. for i,v8 in pairs(button6) do
  106. if v8.Name == "Button" then
  107. if v8.ClassName == "MeshPart" then
  108. v8.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  109. v8.CanCollide = false
  110. end
  111. end
  112. local button7 = v8:GetChildren()
  113. for i,v9 in pairs(button7) do
  114. if v9.Name == "Button" then
  115. if v9.ClassName == "MeshPart" then
  116. v9.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  117. v9.CanCollide = false
  118. end
  119. end
  120. local button8 = v9:GetChildren()
  121. for i,v10 in pairs(button8) do
  122. if v10.Name == "Button" then
  123. if v10.ClassName == "MeshPart" then
  124. v10.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,math.random(-1,1),0)
  125. v10.CanCollide = false
  126. end
  127. end
  128. end
  129. end
  130. end
  131. end
  132. end
  133. end
  134. end
  135. end
  136. end
  137. end
  138. end
  139. end
  140. end
  141.  
  142. if AntiAfk == true then
  143. local bb=game:service'VirtualUser'
  144. game:service'Players'.LocalPlayer.Idled:connect(function()
  145. bb:CaptureController()
  146. bb:ClickButton2(Vector2.new())
  147. end)
  148. end
  149. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement