loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local Window = Rayfield:CreateWindow({ Name = "Heist Tycoon 💰", LoadingTitle = "Heist Tycoon OP script", LoadingSubtitle = "by EvilDragon", ConfigurationSaving = { Enabled = false }, Discord = { Enabled = false }, KeySystem = false, }) local MainTab = Window:CreateTab("Main", 4483362458) local RaidTab = Window:CreateTab("Raid tab", 4483362458) local autoBuyEnabled = false MainTab:CreateToggle({ Name = "Auto Buy", CurrentValue = false, Callback = function(state) autoBuyEnabled = state if autoBuyEnabled then task.spawn(function() local Players = game:GetService("Players") local player = Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") local buttons = workspace.Tycoons:GetChildren()[4]:WaitForChild("Buttons") local blacklist = { ["Minigunner"] = true, ["GamepassDoubleMoney"] = true, ["GamepassSprint"] = true, ["RPG"] = true, ["SWAT"] = true, ["Sniper"] = true, ["Iron Man"] = true, ["Racecar"] = true, ["Missile Launcher"] = true, ["Drone Bomber"] = true, } while autoBuyEnabled do local boughtSomething = false for _, model in ipairs(buttons:GetChildren()) do if model:IsA("Model") and not blacklist[model.Name] then local part = model:FindFirstChildWhichIsA("BasePart", true) if part then hrp.CFrame = part.CFrame + Vector3.new(0, 3, 0) boughtSomething = true task.wait(0.1) end end end if not boughtSomething then Rayfield:Notify({ Title = "Auto Buy", Content = "no more buttons to buy, please rebirth (DONT FORGET TO GIVE YOU MONEY BEFORE AUTOBUY AGAIN!!!)", Duration = 6, Image = 4483362458 }) break end end end) end end, }) local giveAmount = 0 MainTab:CreateInput({ Name = "Money amount", PlaceholderText = "amount", RemoveTextAfterFocusLost = false, Callback = function(Value) giveAmount = tonumber(Value) or 0 end, }) MainTab:CreateButton({ Name = "Give money", Callback = function() local args = { giveAmount } game:GetService("ReplicatedStorage"):WaitForChild("Knit"):WaitForChild("Services"):WaitForChild("RaidService"):WaitForChild("RF"):WaitForChild("GiveReward"):InvokeServer(unpack(args)) end, }) local spawnAmount = 0 RaidTab:CreateInput({ Name = "Spawn amount", PlaceholderText = "amount", RemoveTextAfterFocusLost = false, Callback = function(Value) spawnAmount = tonumber(Value) or 0 end, }) RaidTab:CreateButton({ Name = "Spawn Goblins (Only works if u in a raid)", Callback = function() for i = 1, spawnAmount do local args = { "Goblin", 0 } game:GetService("ReplicatedStorage"):WaitForChild("Knit"):WaitForChild("Services"):WaitForChild("RaidService"):WaitForChild("RF"):WaitForChild("SpawnMob"):InvokeServer(unpack(args)) task.wait(0) end end, })