local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "ZS Hub", LoadingTitle = "ZS hub...", LoadingSubtitle = "by zs", ConfigurationSaving = { Enabled = false } }) local FarmTab = Window:CreateTab("Auto Farm", 4483362458) local AdvTab = Window:CreateTab("Advanced Elements", 4483362458) local PowerTab = Window:CreateTab("Prestige Control", 4483362458) _G.AutoMoney = false _G.AutoAdvElements = false _G.GlobalPrestige = false _G.AutoConfirm = false _G.PrestigeDelay = 10 task.spawn(function() local vu = game:GetService("VirtualUser") game:GetService("Players").LocalPlayer.Idled:Connect(function() vu:CaptureController() vu:ClickButton2(Vector2.new()) end) end) local function GetMyTycoon() local player = game.Players.LocalPlayer for _, v in pairs(workspace:GetChildren()) do if v.Name:find(player.Name) or (v:FindFirstChild("Owner") and v.Owner.Value == player) then return v end end return nil end local function isPrestigeButton(obj) local n = obj.Name:lower() local pN = (obj.Parent and obj.Parent.Name:lower()) or "" return n:find("pres") or n:find("rebirth") or n:find("rank") or n:find("reset") or pN:find("pres") or pN:find("rebirth") end FarmTab:CreateToggle({ Name = "Auto Money (Turbo Mode)", CurrentValue = false, Callback = function(Value) _G.AutoMoney = Value if Value then task.spawn(function() while _G.AutoMoney do pcall(function() local myTycoon = GetMyTycoon() if myTycoon then for _, item in pairs(myTycoon:GetDescendants()) do if item:IsA("TouchTransmitter") and item.Parent then local n = item.Parent.Name:lower() if not (isPrestigeButton(item.Parent) or n:find("steel") or n:find("token") or n:find("circuit") or n:find("power")) then firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, item.Parent, 0) firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, item.Parent, 1) end end end end end) task.wait(0.01) end end) end end }) AdvTab:CreateToggle({ Name = "Auto All Advanced (Steel/Tokens/Power)", CurrentValue = false, Callback = function(Value) _G.AutoAdvElements = Value if Value then task.spawn(function() while _G.AutoAdvElements do pcall(function() local myTycoon = GetMyTycoon() if myTycoon then for _, item in pairs(myTycoon:GetDescendants()) do if item:IsA("TouchTransmitter") and item.Parent then local n = item.Parent.Name:lower() if (n:find("steel") or n:find("token") or n:find("circuit") or n:find("power")) and not isPrestigeButton(item.Parent) then firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, item.Parent, 0) firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, item.Parent, 1) end end end end end) task.wait(0.1) end end) end end }) PowerTab:CreateToggle({ Name = "Auto Prestige ", CurrentValue = false, Callback = function(Value) _G.AutoConfirm = Value if Value then task.spawn(function() while _G.AutoConfirm do pcall(function() local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui") for _, gui in pairs(playerGui:GetDescendants()) do if gui:IsA("TextLabel") or gui:IsA("TextButton") then local txt = gui.Text:lower() if txt:find("prestige") or txt:find("rebirth") or txt:find("want to") then for _, btn in pairs(gui.Parent:GetDescendants()) do if btn:IsA("TextButton") and (btn.Text:lower():find("yes") or btn.Text:lower():find("confirm")) then firesignal(btn.MouseButton1Click) firesignal(btn.Activated) end end end end end end) task.wait(0.5) end end) end end }) PowerTab:CreateSlider({ Name = "Prestige Interval", Range = {1, 60}, Increment = 1, Suffix = "Sec", CurrentValue = 10, Callback = function(Value) _G.PrestigeDelay = Value end }) PowerTab:CreateToggle({ Name = "Auto Trigger Prestige", CurrentValue = false, Callback = function(Value) _G.GlobalPrestige = Value if Value then task.spawn(function() while _G.GlobalPrestige do task.wait(_G.PrestigeDelay) if _G.GlobalPrestige then pcall(function() local myTycoon = GetMyTycoon() if myTycoon then for _, item in pairs(myTycoon:GetDescendants()) do if item:IsA("TouchTransmitter") and item.Parent and isPrestigeButton(item.Parent) then firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, item.Parent, 0) firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, item.Parent, 1) end end end end) end end end) end end })