-- 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
UserInputService.InputBegan:Connect(function(input) if not _G.fly then return end if input.KeyCode == Enum.KeyCode.Space then bodyVel.Velocity = Vector3.new(0, 50, 0) elseif input.KeyCode == Enum.KeyCode.LeftShift then bodyVel.Velocity = Vector3.new(0, -50, 0) end end) UserInputService.InputEnded:Connect(function(input) if not _G.fly then return end if input.KeyCode == Enum.KeyCode.Space or input.KeyCode == Enum.KeyCode.LeftShift then bodyVel.Velocity = Vector3.new(0, 0, 0) end end) end end)
-- Tab content container local content = Instance.new("Frame") content.Size = UDim2.new(1, 0, 1, -30) content.Position = UDim2.new(0, 0, 0, 30) content.BackgroundTransparency = 1 content.Parent = mainFrame -NEW- ROBLOX Pilgrammed Script GUI
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)
-- 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 30) toggleBtn.Position = UDim2.new(0
-- Movement Tab local moveTab = Instance.new("Frame") moveTab.Name = "Movement" moveTab.Size = UDim2.new(1, 0, 1, 0) moveTab.BackgroundTransparency = 1 moveTab.Visible = false moveTab.Parent = content
-- Player Tab local playerTab = Instance.new("Frame") playerTab.Name = "Player" playerTab.Size = UDim2.new(1, 0, 1, 0) playerTab.BackgroundTransparency = 1 playerTab.Visible = false playerTab.Parent = content 50) toggleBtn.TextColor3 = Color3.fromRGB(255
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)