makeToggle(miscTab, "Auto-collect loot", 40, function(state) _G.autoLoot = state while _G.autoLoot do wait(0.3) local lootFolder = workspace:FindFirstChild("Drops") or workspace:FindFirstChild("Loot") if lootFolder then for _, item in ipairs(lootFolder:GetChildren()) do if item:IsA("BasePart") and item:FindFirstChild("TouchInterest") then local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = item.CFrame wait(0.1) end end end end end end)
-- Title local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundColor3 = Color3.fromRGB(45, 45, 55) title.Text = "Pilgrammed - New GUI" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.GothamBold title.TextSize = 18 title.Parent = mainFrame
makeToggle(playerTab, "Infinite Stamina", 40, function(state) _G.infStam = state local playerStats = LocalPlayer:FindFirstChild("stats") or LocalPlayer:FindFirstChild("PlayerStats") if playerStats and playerStats:FindFirstChild("Stamina") then playerStats.Stamina.Changed:Connect(function() if _G.infStam then playerStats.Stamina.Value = playerStats.Stamina.MaxValue end end) end end)
makeToggle(miscTab, "Instant respawn", 90, function(state) if state then LocalPlayer.CharacterAdded:Connect(function(char) wait(0.2) char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth end) end end) -NEW- ROBLOX Pilgrammed Script GUI
-- Create tabs for i, tabName in ipairs(tabs) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 100, 0, 25) btn.Position = UDim2.new(0, (i-1)*100, 0, 30) btn.Text = tabName btn.BackgroundColor3 = Color3.fromRGB(55, 55, 70) btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.Gotham btn.TextSize = 14 btn.Parent = mainFrame tabButtons[tabName] = btn
makeToggle(moveTab, "Fly (Space to go up)", 40, function(state) _G.fly = state if state then local char = LocalPlayer.Character if not char then return end local root = char:FindFirstChild("HumanoidRootPart") local bodyVel = Instance.new("BodyVelocity") bodyVel.MaxForce = Vector3.new(10000, 10000, 10000) bodyVel.Velocity = Vector3.new(0, 0, 0) bodyVel.Parent = root
makeToggle(combatTab, "No ability cooldown", 140, function(state) _G.noCD = state local mt = getrawmetatable(game) local old = mt.__index mt.__index = newcclosure(function(self, k) if _G.noCD and (k == "CurrentCooldown" or k == "RemainingCooldown") then return 0 end return old(self, k) end) end) 30) title.BackgroundColor3 = Color3.fromRGB(45
makeToggle(combatTab, "Auto-Farm (nearby enemy)", 40, function(state) _G.autoFarm = state if state then RunService.RenderStepped:Connect(function() if not _G.autoFarm then return end local enemies = workspace:FindFirstChild("Enemies") or workspace:FindFirstChild("Mobs") if enemies then for _, enemy in ipairs(enemies:GetChildren()) do if enemy:FindFirstChild("Humanoid") and enemy.Humanoid.Health > 0 then local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = enemy.HumanoidRootPart.CFrame * CFrame.new(0, 0, 4) wait(0.1) -- attack (simulate click) game:GetService("VirtualUser"):Button1Down(Vector2.new(0,0)) wait(0.05) game:GetService("VirtualUser"):Button1Up(Vector2.new(0,0)) end break end end end end) end end)
makeToggle(moveTab, "Speed boost (x3)", 90, function(state) _G.speed = state local char = LocalPlayer.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid.WalkSpeed = state and 48 or 16 end end)
-- Function to create toggle local function makeToggle(parent, text, y, callback) local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0, 200, 0, 30) toggleBtn.Position = UDim2.new(0, 10, 0, y) toggleBtn.Text = text .. " ❌" toggleBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 50) toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleBtn.Font = Enum.Font.Gotham toggleBtn.TextSize = 14 toggleBtn.Parent = parent 25) btn.Position = UDim2.new(0
local toggled = false toggleBtn.MouseButton1Click:Connect(function() toggled = not toggled toggleBtn.Text = text .. (toggled and " ✅" or " ❌") callback(toggled) end) end
makeToggle(playerTab, "Auto-Heal (below 30%)", 90, function(state) _G.autoHeal = state while _G.autoHeal do wait(0.5) local char = LocalPlayer.Character if char and char:FindFirstChild("Humanoid") then local hum = char.Humanoid if hum.Health < hum.MaxHealth * 0.3 then -- Use healing item (first in inventory) local inv = LocalPlayer:FindFirstChild("Backpack") or LocalPlayer:FindFirstChild("Inventory") if inv then for _, item in pairs(inv:GetChildren()) do if item:IsA("Tool") and item.Name:lower():find("potion") or item.Name:lower():find("food") then item.Parent = LocalPlayer.Character item:Activate() break end end end end end end end)
makeToggle(combatTab, "One-shot enemies", 90, function(state) if state then local oh = getrawmetatable and getrawmetatable(game) or debug.getmetatable(game) local old = oh.__index setupvalue and setupvalue(old, 1, nil) oh.__index = newcclosure(function(self, k) if k == "Health" and self:IsA("Humanoid") and self.Parent ~= LocalPlayer.Character then return 0 end return old(self, k) end) else -- restore end end)
-- Services local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/your-link-here/MainLib/main/UILibrary.lua"))() -- ^ replace with a real pastebin/raw lib if needed, or skip (I'll use a simple built-in GUI)