-- 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(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)
-- Tab buttons local tabs = {"Combat", "Movement", "Player", "Misc"} local tabButtons = {} local currentTab = "Combat"
local toggled = false toggleBtn.MouseButton1Click:Connect(function() toggled = not toggled toggleBtn.Text = text .. (toggled and " ✅" or " ❌") callback(toggled) end) end -NEW- ROBLOX Pilgrammed Script GUI
-- 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
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 -- Create tabs for i, tabName in ipairs(tabs)
-- Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 450, 0, 350) mainFrame.Position = UDim2.new(0.5, -225, 0.5, -175) mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35) mainFrame.BorderSizePixel = 0 mainFrame.BackgroundTransparency = 0.15 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = gui
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(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) -- Create tabs for i
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)
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)