local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Mega Hub | Don't Wake Grandma", LoadingTitle = "Loading Script...", LoadingSubtitle = "by Gustavocsa", ConfigurationSaving = { Enabled = false }, KeySystem = false }) local MainTab = Window:CreateTab("Main", 4483345998) local EspTab = Window:CreateTab("Item ESP", 4483345998) local ExtraTab = Window:CreateTab("Extra", 4483345998) -- Control Variables for Autofarm local autoCollect = false local autoPickupDrop = false local network = game:GetService("ReplicatedStorage"):WaitForChild("shared/network/MiscNetwork@GlobalMiscEvents") local player = game.Players.LocalPlayer local camera = workspace.CurrentCamera -- Tabela para ignorar temporariamente os itens dropados local itemCooldowns = {} -- Control Variables for ESP and Rainbow local espNome = false local espMetros = false local espGlow = false local espRpgRainbow = false -- Customizable Colors (Works when Rainbow is OFF) local corDoTexto = Color3.fromRGB(0, 255, 255) local corGlow = Color3.fromRGB(255, 0, 255) -- Interface for ESP Texts local screenGui = Instance.new("ScreenGui") screenGui.Name = "Ziad303_ESP_Final_Optimized" screenGui.ResetOnSpawn = false local success, target = pcall(function() return game:GetService("CoreGui") end) screenGui.Parent = success and target or player:WaitForChild("PlayerGui") local allowedSnacks = { ["bloxiade"] = true, ["burger"] = true, ["hot dog"] = true, ["chips"] = true, ["water"] = true, ["cookie"] = true, ["pizza"] = true } local function getRealSnackName(part) local filteredName = string.lower(part.Name) if filteredName == "handle" or filteredName == "part" or filteredName == "meshpart" then return part.Parent.Name end return part.Name end local function checkValidSnack(obj) if obj:IsA("ProximityPrompt") and obj.Parent then local part = obj.Parent local nameToCheck = string.lower(getRealSnackName(part)) for snack, _ in pairs(allowedSnacks) do if string.find(nameToCheck, snack) then return part end end end return nil end local function clearGlowFromMap() for _, obj in pairs(workspace:GetDescendants()) do if obj:IsA("Highlight") and obj.Name == "ZiadGlow" then obj:Destroy() end end end local function getRainbowColor() return Color3.fromHSV(tick() % 5 / 5, 1, 1) end -- Central ESP Renderer local function updateVisualOnScreen(part, currentRainbowColor) if not part or not part:IsDescendantOf(workspace) then return end local itemId = "Visual_" .. part:GetDebugId() local container = screenGui:FindFirstChild(itemId) if not container then container = Instance.new("Folder") container.Name = itemId container.Parent = screenGui end local glowHighlight = part:FindFirstChild("ZiadGlow") if espGlow then if not glowHighlight then glowHighlight = Instance.new("Highlight") glowHighlight.Name = "ZiadGlow" glowHighlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop glowHighlight.FillTransparency = 0.6 glowHighlight.OutlineTransparency = 0 glowHighlight.Parent = part end glowHighlight.FillColor = currentRainbowColor or corGlow glowHighlight.OutlineColor = currentRainbowColor or corGlow else if glowHighlight then glowHighlight:Destroy() end end local textLabel = container:FindFirstChild("Text") if espNome or espMetros then if not textLabel then textLabel = Instance.new("TextLabel") textLabel.Name = "Text" textLabel.Size = UDim2.new(0, 160, 0, 30) textLabel.BackgroundTransparency = 1 textLabel.TextSize = 14 textLabel.Font = Enum.Font.SourceSansBold textLabel.Parent = container end textLabel.TextColor3 = currentRainbowColor or corDoTexto else if textLabel then textLabel:Destroy() end end local character = player.Character if character and character:FindFirstChild("HumanoidRootPart") then local root = character.HumanoidRootPart local centerPos, onScreen = camera:WorldToViewportPoint(part.Position + Vector3.new(0, 1.5, 0)) if onScreen then local distance = (part.Position - root.Position).Magnitude if textLabel then textLabel.Visible = true textLabel.Position = UDim2.new(0, centerPos.X - 80, 0, centerPos.Y - 15) local builtText = "" if espNome then builtText = getRealSnackName(part) end if espMetros then if espNome then builtText = builtText .. "\n" end builtText = builtText .. string.format("[%.1f M]", distance) end textLabel.Text = builtText end else if textLabel then textLabel.Visible = false end end else if textLabel then textLabel.Visible = false end end end game:GetService("RunService").RenderStepped:Connect(function() if not (espNome or espMetros or espGlow) then screenGui:ClearAllChildren() clearGlowFromMap() return end local currentFrameColor = espRpgRainbow and getRainbowColor() or nil local currentItemsOnMap = {} for _, obj in pairs(workspace:GetDescendants()) do local validPart = checkValidSnack(obj) if validPart then local itemId = "Visual_" .. validPart:GetDebugId() currentItemsOnMap[itemId] = true updateVisualOnScreen(validPart, currentFrameColor) end end for _, oldVisual in pairs(screenGui:GetChildren()) do if oldVisual:IsA("Folder") and not currentItemsOnMap[oldVisual.Name] then oldVisual:Destroy() end end end) --- SECTION 1: MAIN TAB --- MainTab:CreateToggle({Name = "Stealth Prompt Auto Collect", CurrentValue = false, Callback = function(Value) autoCollect = Value task.spawn(function() while autoCollect do task.wait(0.2) if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then for _, item in pairs(workspace:GetDescendants()) do if not autoCollect then break end if item:IsA("ProximityPrompt") then fireproximityprompt(item) end end end end end) end}) MainTab:CreateToggle({Name = "Fast Pick & Drop Loop", CurrentValue = false, Callback = function(Value) autoPickupDrop = Value if autoPickupDrop then task.spawn(function() while autoPickupDrop do for _, obj in pairs(workspace:GetDescendants()) do if not autoPickupDrop then break end if obj:IsA("ProximityPrompt") and checkValidSnack(obj) then -- Verifica se o item não está em cooldown (já foi pego recentemente) if not itemCooldowns[obj] then fireproximityprompt(obj) task.wait(0.08) if not autoPickupDrop then break end if network:FindFirstChild("DropSnack") then network.DropSnack:FireServer() -- Adiciona o item ao cooldown por 3 segundos para focar nos outros do mapa itemCooldowns[obj] = true task.delay(3, function() itemCooldowns[obj] = nil end) end task.wait(0.02) end end end task.wait(0.05) end end) else -- Limpa a lista se desligar o toggle table.clear(itemCooldowns) end end}) --- SECTION 2: ITEM ESP TAB --- EspTab:CreateToggle({Name = "Rainbow RGB", CurrentValue = false, Callback = function(Value) espRpgRainbow = Value end}) EspTab:CreateToggle({Name = "Show Item Name", CurrentValue = false, Callback = function(Value) espNome = Value end}) EspTab:CreateToggle({Name = "Show Distance", CurrentValue = false, Callback = function(Value) espMetros = Value end}) EspTab:CreateToggle({Name = "Show Glow", CurrentValue = false, Callback = function(Value) espGlow = Value end}) EspTab:CreateColorPicker({ Name = "Change Text Color", Color = Color3.fromRGB(0, 255, 255), Callback = function(Value) corDoTexto = Value end }) EspTab:CreateColorPicker({ Name = "Change Glow Color", Color = Color3.fromRGB(255, 0, 255), Callback = function(Value) corGlow = Value end }) --- SECTION 3: EXTRA TAB --- ExtraTab:CreateButton({Name = "Infinite Yield", Callback = function() loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))() end}) ExtraTab:CreateButton({Name = "Nameless Admin", Callback = function() loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Nameless-admin-reworked-75477"))() end}) ExtraTab:CreateButton({Name = "Fly v3", Callback = function() loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Fly-v3-64434"))() end}) ExtraTab:CreateButton({Name = "Instant Interact", Callback = function() loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Instantly-interact-with-proximity-prompt-73901"))() end})