-- Break For Pets - Celestial Lucky Block Auto Buyer (Works From Anywhere) -- Uses BuyPrompt + MaxActivationDistance expansion local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Celestial Auto Buyer - Anywhere Mode", LoadingTitle = "Range Expanded Version", LoadingSubtitle = "No need to stay near treadmill", ConfigurationSaving = { Enabled = false }, KeySystem = false }) local ControlTab = Window:CreateTab("Control", 4483362458) local StatusLabel = ControlTab:CreateLabel("Status: Stopped") local autoRunning = false local heartbeatConn ControlTab:CreateToggle({ Name = "Auto Buy Celestial (Anywhere)", CurrentValue = false, Callback = function(state) autoRunning = state if state then StatusLabel:Set("Status: RUNNING - Anywhere mode ON") print("✅ Auto Buy Started (range expanded)") heartbeatConn = game:GetService("RunService").Heartbeat:Connect(function() if not autoRunning then return end local activeFolder = workspace:FindFirstChild("Game") and workspace.Game:FindFirstChild("ActiveBlocks") if not activeFolder then return end for _, block in ipairs(activeFolder:GetChildren()) do if block.Name == "Celestial Lucky Block" then local buyPrompt = block:FindFirstChild("BuyPrompt", true) if buyPrompt and buyPrompt:IsA("ProximityPrompt") then print("Celestial found - expanding range & buying...") -- Make the prompt work from ANY distance local oldMaxDistance = buyPrompt.MaxActivationDistance local oldHold = buyPrompt.HoldDuration buyPrompt.MaxActivationDistance = 99999 -- basically infinite buyPrompt.HoldDuration = 0 -- instant buyPrompt:InputHoldBegin() task.wait(0.07) buyPrompt:InputHoldEnd() -- Restore original values buyPrompt.MaxActivationDistance = oldMaxDistance buyPrompt.HoldDuration = oldHold StatusLabel:Set("Status: RUNNING - Celestial Bought!") print("✅ Bought Celestial Lucky Block from anywhere") task.wait(0.9) -- cooldown break end end end end) else if heartbeatConn then heartbeatConn:Disconnect() end StatusLabel:Set("Status: Stopped") print("⛔ Auto Buy Stopped") end end, }) ControlTab:CreateButton({ Name = "Manual Buy Test (Anywhere)", Callback = function() local activeFolder = workspace:FindFirstChild("Game") and workspace.Game:FindFirstChild("ActiveBlocks") if not activeFolder then print("ActiveBlocks not found") return end for _, block in ipairs(activeFolder:GetChildren()) do if block.Name == "Celestial Lucky Block" then local buyPrompt = block:FindFirstChild("BuyPrompt", true) if buyPrompt then local oldDist = buyPrompt.MaxActivationDistance local oldHold = buyPrompt.HoldDuration buyPrompt.MaxActivationDistance = 99999 buyPrompt.HoldDuration = 0 buyPrompt:InputHoldBegin() task.wait(0.08) buyPrompt:InputHoldEnd() buyPrompt.MaxActivationDistance = oldDist buyPrompt.HoldDuration = oldHold print("✅ Manual buy attempted on Celestial (anywhere)") else print("BuyPrompt not found") end return end end print("No Celestial currently spawned") end, }) print("✅ Anywhere version loaded!") print("Turn on 'Auto Buy Celestial (Anywhere)'") print("You can now AFK or walk around the map freely.") game.Players.LocalPlayer.CharacterRemoving:Connect(function() if Rayfield then Rayfield:Destroy() end end)