2AreYouMental110

millionaire empire tycoon script (fixed)

Nov 18th, 2021 (edited)
1,495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.57 KB | None | 0 0
  1. -- game https://web.roblox.com/games/6677985923/Millionaire-Empire-Tycoon
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. getgenv().autobuttons = false
  9. getgenv().autostart = false
  10. getgenv().autorebirth = false
  11. getgenv().autofarmrebirths = false
  12.  
  13. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  14.  
  15. local window = library:CreateWindow("millionaire tycoon")
  16. local buying = window:CreateFolder("buying")
  17. local rebirthing = window:CreateFolder("rebirthing")
  18. local cash = window:CreateFolder("cash")
  19.  
  20. buying:Button("buy tycoon 1 buttons",function()
  21.     local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  22.     for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 1"]["P1 Stuff"].Buttons:GetDescendants()) do
  23.         if v.Name == "TouchInterest" and v.Parent then
  24.             firetouchinterest(player, v.Parent, 0)
  25.             wait()
  26.             firetouchinterest(player, v.Parent, 1)
  27.         end
  28.     end
  29.     wait()
  30. end)
  31.  
  32. buying:Button("buy tycoon 2 buttons",function()
  33.     local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  34.     for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 2"]["P1 Stuff"].Buttons:GetDescendants()) do
  35.         if v.Name == "TouchInterest" and v.Parent then
  36.             firetouchinterest(player, v.Parent, 0)
  37.             wait()
  38.             firetouchinterest(player, v.Parent, 1)
  39.         end
  40.     end
  41.     wait()
  42. end)
  43. buying:Button("buy tycoon 3 buttons",function()
  44.     local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  45.     for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 3"]["P1 Stuff"].Buttons:GetDescendants()) do
  46.         if v.Name == "TouchInterest" and v.Parent then
  47.             firetouchinterest(player, v.Parent, 0)
  48.             wait()
  49.             firetouchinterest(player, v.Parent, 1)
  50.         end
  51.     end
  52.     wait()
  53. end)
  54.  
  55. buying:Button("buy tycoon 4 buttons",function()
  56.     local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  57.     for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 4"]["P1 Stuff"].Buttons:GetDescendants()) do
  58.         if v.Name == "TouchInterest" and v.Parent then
  59.             firetouchinterest(player, v.Parent, 0)
  60.             wait()
  61.             firetouchinterest(player, v.Parent, 1)
  62.         end
  63.     end
  64.     wait()
  65. end)
  66.  
  67. buying:Toggle("auto buy tycoon buttons (for every tycoon)",function(bool)
  68.     getgenv().autobuttons = bool
  69.     print(on)
  70.     if bool then
  71.         buttons()
  72.     end
  73. end)
  74.  
  75. rebirthing:Toggle("auto farm rebirths (kicks after done) [resets tycoon]",function(bool)
  76.     getgenv().autofarmrebirths = bool
  77.     print(on)
  78.     if bool then
  79.         farmrebirths()
  80.     end
  81. end)
  82.  
  83. rebirthing:Toggle("auto rebirth",function(bool)
  84.     getgenv().autorebirth = bool
  85.     print(on)
  86.     if bool then
  87.         rebirth()
  88.     end
  89. end)
  90.  
  91.  
  92. rebirthing:Button("rebirth (resets tycoon)",function()
  93.     local A_1 = "Cash"
  94.     local A_2 = 1000000000000000000
  95.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  96.     Event:FireServer(A_1, A_2)
  97.     wait()
  98.     local Event = game:GetService("ReplicatedStorage").rebirthEvent
  99.     Event:FireServer()
  100.     wait()
  101.     print("done")
  102. end)
  103.  
  104.  
  105.  
  106. cash:Button("give 1k",function()
  107.     local A_1 = "Cash"
  108.     local A_2 = 1000
  109.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  110.     Event:FireServer(A_1, A_2)
  111. end)
  112.  
  113. cash:Button("give 10k",function()
  114.     local A_1 = "Cash"
  115.     local A_2 = 10000
  116.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  117.     Event:FireServer(A_1, A_2)
  118. end)
  119.  
  120. cash:Button("give 100k",function()
  121.     local A_1 = "Cash"
  122.     local A_2 = 100000
  123.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  124.     Event:FireServer(A_1, A_2)
  125. end)
  126.  
  127. cash:Button("give 1m",function()
  128.     local A_1 = "Cash"
  129.     local A_2 = 1000000
  130.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  131.     Event:FireServer(A_1, A_2)
  132. end)
  133.  
  134. cash:Button("give 10m",function()
  135.     local A_1 = "Cash"
  136.     local A_2 = 10000000
  137.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  138.     Event:FireServer(A_1, A_2)
  139. end)
  140.  
  141. cash:Button("give 100m",function()
  142.     local A_1 = "Cash"
  143.     local A_2 = 100000000
  144.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  145.     Event:FireServer(A_1, A_2)
  146. end)
  147.  
  148. cash:Button("give 1b",function()
  149.     local A_1 = "Cash"
  150.     local A_2 = 1000000000
  151.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  152.     Event:FireServer(A_1, A_2)
  153. end)
  154.  
  155. cash:Button("give 10b",function()
  156.     local A_1 = "Cash"
  157.     local A_2 = 10000000000
  158.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  159.     Event:FireServer(A_1, A_2)
  160. end)
  161.  
  162. cash:Button("give 100b",function()
  163.     local A_1 = "Cash"
  164.     local A_2 = 100000000000
  165.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  166.     Event:FireServer(A_1, A_2)
  167. end)
  168.  
  169. cash:Button("give 1t",function()
  170.     local A_1 = "Cash"
  171.     local A_2 = 1000000000000
  172.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  173.     Event:FireServer(A_1, A_2)
  174. end)
  175.  
  176. cash:Button("give 10t",function()
  177.     local A_1 = "Cash"
  178.     local A_2 = 10000000000000
  179.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  180.     Event:FireServer(A_1, A_2)
  181. end)
  182.  
  183. cash:Button("give 100t",function()
  184.     local A_1 = "Cash"
  185.     local A_2 = 100000000000000
  186.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  187.     Event:FireServer(A_1, A_2)
  188. end)
  189.  
  190. cash:Button("give 1q",function()
  191.     local A_1 = "Cash"
  192.     local A_2 = 1000000000000000
  193.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  194.     Event:FireServer(A_1, A_2)
  195. end)
  196.  
  197. cash:Button("give 10q",function()
  198.     local A_1 = "Cash"
  199.     local A_2 = 10000000000000000
  200.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  201.     Event:FireServer(A_1, A_2)
  202. end)
  203.  
  204. cash:Button("give 100q",function()
  205.     local A_1 = "Cash"
  206.     local A_2 = 100000000000000000
  207.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  208.     Event:FireServer(A_1, A_2)
  209. end)
  210.  
  211. cash:Button("give 1q (quintillion)",function()
  212.     local A_1 = "Cash"
  213.     local A_2 = 1000000000000000000
  214.     local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  215.     Event:FireServer(A_1, A_2)
  216. end)
  217.  
  218. cash:Label("wait if you have negative money and it will go back to 0",{
  219.     TextSize = 13;
  220.     TextColor = Color3.fromRGB(255,255,255);
  221.     BgColor = Color3.fromRGB(0,0,0);
  222.    
  223. })
  224.  
  225. function buttons()
  226.     spawn(function()
  227.         while getgenv().autobuttons == true do
  228.             local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  229.             for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 1"]["P1 Stuff"].Buttons:GetDescendants()) do
  230.                 if v.Name == "TouchInterest" and v.Parent then
  231.                     firetouchinterest(player, v.Parent, 0)
  232.                     wait()
  233.                     firetouchinterest(player, v.Parent, 1)
  234.                 end
  235.             end
  236.             wait()
  237.             local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  238.             for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 2"]["P1 Stuff"].Buttons:GetDescendants()) do
  239.                 if v.Name == "TouchInterest" and v.Parent then
  240.                     firetouchinterest(player, v.Parent, 0)
  241.                     wait()
  242.                     firetouchinterest(player, v.Parent, 1)
  243.                 end
  244.             end
  245.             wait()
  246.             local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  247.             for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 3"]["P1 Stuff"].Buttons:GetDescendants()) do
  248.                 if v.Name == "TouchInterest" and v.Parent then
  249.                     firetouchinterest(player, v.Parent, 0)
  250.                     wait()
  251.                     firetouchinterest(player, v.Parent, 1)
  252.                 end
  253.             end
  254.             wait()
  255.             local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  256.             for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons["Millionaire Tycoon 4"]["P1 Stuff"].Buttons:GetDescendants()) do
  257.                 if v.Name == "TouchInterest" and v.Parent then
  258.                     firetouchinterest(player, v.Parent, 0)
  259.                     wait()
  260.                     firetouchinterest(player, v.Parent, 1)
  261.                     wait()
  262.                 end
  263.             end
  264.         end
  265.     end)
  266. end
  267.  
  268. function start()
  269.     spawn(function()
  270.         while getgenv().autostart == true do
  271.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-169.879929, 3.63446593, -182.246506, 0.134235919, -5.68572425e-08, -0.990949392, -3.37821042e-08, 1, -6.19527256e-08, 0.990949392, 4.17926387e-08, 0.134235919)
  272.             wait()
  273.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-8.92513847, 3.80722523, -52.0281601, -0.999425292, 0, 0.0338973477, 0, 1, 0, -0.0338973477, 0, -0.999425292)
  274.             wait()
  275.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-137.047958, 3.74055266, 108.386833, -0.978566349, 0, 0.205931723, 0, 1, 0, -0.205931723, 0, -0.978566349)
  276.             wait()
  277.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-298.46405, 3.60720897, -20.9735355, 0.470143974, -6.42334399e-08, 0.882589757, 7.46956701e-08, 1, 3.29889644e-08, -0.882589757, 5.0416066e-08, 0.470143974)
  278.             wait()
  279.         end
  280.     end)
  281. end
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288. function rebirth()
  289.     spawn(function()
  290.         while getgenv().autorebirth == true do
  291.             local Event = game:GetService("ReplicatedStorage").rebirthEvent
  292.             Event:FireServer()
  293.             wait()
  294.         end
  295.     end)
  296. end
  297.  
  298. function farmrebirths()
  299.     spawn(function()
  300.         while getgenv().autofarmrebirths == true do
  301.             local A_1 = "Cash"
  302.             local A_2 = 1000000000000000000
  303.             local Event = game:GetService("ReplicatedStorage").Events.CrateClaim
  304.             Event:FireServer(A_1, A_2)
  305.             wait()
  306.             local Event = game:GetService("ReplicatedStorage").rebirthEvent
  307.             Event:FireServer()
  308.             wait()
  309.         end
  310.     end)
  311. end
  312.  
Add Comment
Please, Sign In to add comment