local rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local window = rayfield:CreateWindow({ Name = "OP GUI", LoadingTitle = "Loading...", LoadingSubtitle = "By lilah", Theme = "Amethyst", ConfigurationSaving = { Enabled = true, FolderName = "AutoFarmGUI", FileName = "Settings" }, }) local main_tab = window:CreateTab("Main") local drops_tab = window:CreateTab("Drops") local diamonds_tab = window:CreateTab("Diamonds") local pets_tab = window:CreateTab("Pets") local auto_sell_enabled = false main_tab:CreateToggle({ Name = "Auto Sell", Default = false, Callback = function(value) auto_sell_enabled = value while auto_sell_enabled do local args = { [1] = 0 } game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("processor.process"):InvokeServer(unpack(args)) task.wait() end end }) local auto_upgrade_enabled = false main_tab:CreateToggle({ Name = "Auto Upgrade Sell", Default = false, Callback = function(value) auto_upgrade_enabled = value while auto_upgrade_enabled do local args = { [1] = 0 } game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("processor.upgrade"):InvokeServer(unpack(args)) task.wait() end end }) local auto_rebirth_enabled = false main_tab:CreateToggle({ Name = "Auto Rebirth", Default = false, Callback = function(value) auto_rebirth_enabled = value while auto_rebirth_enabled do game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("rebirth"):InvokeServer() task.wait() end end }) local drop_name = "AmethystOre" local drop_amount = 1000 local auto_give_enabled = false drops_tab:CreateInput({ Name = "Drop Name", PlaceholderText = "AmethystOre", Callback = function(value) drop_name = value end }) drops_tab:CreateInput({ Name = "Drop Amount", PlaceholderText = "1000", Callback = function(value) print(value) drop_amount = tonumber(value) or 1000 end }) drops_tab:CreateToggle({ Name = "Auto Give Drop", Default = false, Callback = function(value) auto_give_enabled = value while auto_give_enabled do local args = { [1] = { [drop_name] = drop_amount, } } game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("collect.drops"):FireServer(unpack(args)) task.wait() end end }) local pet_name = "Golem" local auto_buy_enabled = false pets_tab:CreateInput({ Name = "Pet Name", PlaceholderText = "Golem", Callback = function(value) pet_name = value end }) pets_tab:CreateToggle({ Name = "Auto Buy Pet", Default = false, Callback = function(value) auto_buy_enabled = value while auto_buy_enabled do local args = { [1] = pet_name, [2] = 1 } game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("eggs.purchase"):InvokeServer(unpack(args)) task.wait() end end }) local give_diamonds_enabled = false local diamond_amount = 1000 diamonds_tab:CreateInput({ Name = "Diamond Amount", PlaceholderText = "1000", Callback = function(value) diamond_amount = tonumber(value) or 1000 end }) diamonds_tab:CreateToggle({ Name = "Give Diamonds", Default = false, Callback = function(value) give_diamonds_enabled = value while give_diamonds_enabled do local args = { [1] = diamond_amount } game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("collect.diamonds"):FireServer(unpack(args)) task.wait() end end }) diamonds_tab:CreateButton({ Name = "Give Infinite Diamonds", Callback = function() local args = { [1] = math.huge } game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("node_modules"):WaitForChild("@rbxts"):WaitForChild("remo"):WaitForChild("src"):WaitForChild("container"):WaitForChild("collect.diamonds"):FireServer(unpack(args)) end })