Dark Spawner Script
HomeGamesTrendingExecutors
Dark Spawner Script

The best community driven platform for finding the latest Roblox scripts. Create, share, and discover amazing scripts.

Scripts
879+
Games
533+
Votes cast
8,876+

Quick Links

  • How to Use
  • Games
  • Trending Scripts
  • Executors
  • FAQs

Community

Links coming soon.

Contact

  • [email protected]
  • Report a script

© 2026 Dark Spawner Script. All rights reserved.

About UsPrivacy PolicyDisclaimer
Home›Games›Piggy

Piggy Script Piggy Hub: God Mode, Piggy ESP

Piggy•4 hours ago
0 views
Piggy Script Piggy Hub: God Mode, Piggy ESP
No Key
  • Working
  • updated 4 hours ago
  • No key
  • tested on Delta, Xeno
T

Team Darkspawner

Hub: Piggy Hub

Play Game Game Link

Description

Use this Piggy Hub for Piggy Roblox!! Now you can get features like Fly, Teleport to Exit, Item ESP, God Mode and Noclip, and More!! The Main tab opens on Movement, where the WalkSpeed slider sits at 30 and JumpPower at 60, and neither kicks in until you flip Enable WalkSpeed or Enable JumpPower right under it. Infinite Jump is in the same block, Noclip and Godmode sit under Physics, and Fly gets its own Fly Speed slider under Flight. Visuals, Teleport and Utility each have a tab in the sidebar, and the whole script is open source, so the full code sits in the box below instead of a loader. No key on this one, so paste the loadstring and go!!

Features

  • +God Mode
  • +Piggy ESP
  • +Fly
  • +Item ESP
  • +Noclip
  • +Teleport to Exit
  • +Infinite Jump
  • +Exit and Objective ESP
  • +Speed Boost
  • +Teleport to Nearest Item
  • +Jump Power Boost
  • +Player ESP with Health Bars
  • +Fullbright and No Fog
  • +Anti Jumpscare
  • +Server Hop
  • +Anti AFK
Piggy

Piggy

Explore more scripts for this game (4)

Script

Raw Download
local AIRFLOW_URL = "https://raw.githubusercontent.com/kni-fe/free-products/main/AirFlowLibrary.luau"

local success, Library = pcall(function()
    local source = game:HttpGet(AIRFLOW_URL)
    return loadstring(source)()
end)

if not success or type(Library) ~= "table" or type(Library.CreateWindow) ~= "function" then
    error("[AirFlow Template] Failed to load library: " .. tostring(Library))
end

getgenv().AirFlow = Library
getgenv().Library = Library

local Players           = game:GetService("Players")
local TweenService      = game:GetService("TweenService")
local RunService        = game:GetService("RunService")
local UserInputService  = game:GetService("UserInputService")
local Lighting          = game:GetService("Lighting")
local HttpService       = game:GetService("HttpService")
local TeleportService   = game:GetService("TeleportService")
local LocalPlayer       = Players.LocalPlayer
local camera            = workspace.CurrentCamera

local Window = Library:CreateWindow({
    Title = "Piggy Hub",
    Subtitle = "AirFlow Edition",
    Size = UDim2.fromOffset(550, 450),
    ToggleKey = Enum.KeyCode.RightShift,
})

local MainTab = Window:CreateTab("Main", 4483362458)
local VisualsTab = Window:CreateTab("Visuals", 4483362458)
local TeleportTab = Window:CreateTab("Teleport", 4483362458)
local UtilityTab = Window:CreateTab("Utility", 4483362458)

local State = {
    WalkSpeed    = false, WSpeed = 30,
    JumpPower    = false, JPower = 60,
    InfiniteJump = false,
    Noclip       = false,
    Fly          = false, FlySpeed = 60,
    Godmode      = false,
    ItemESP      = true,
    PiggyESP     = true,
    PlayerESP    = true,
    ExitESP      = true,
    ESP_Boxes    = true,
    ESP_Names    = true,
    ESP_Distances= true,
    ESP_Health   = true,
    ESP_MaxDist  = 500,
    Fullbright   = false,
    NoFog        = false,
    AntiJumpscare = false,
    AntiAFK      = false,
}

local C = {
    Player = Color3.fromRGB(60, 130, 255),
    Bot    = Color3.fromRGB(255, 60, 60),
    Item   = Color3.fromRGB(255, 215, 100),
    Exit   = Color3.fromRGB(120, 255, 120),
    HealthHigh = Color3.fromRGB(0, 255, 0),
    HealthMid  = Color3.fromRGB(255, 255, 0),
    HealthLow  = Color3.fromRGB(255, 0, 0),
    Black  = Color3.fromRGB(0,0,0)
}

local function getHRP()
    local c = LocalPlayer.Character
    return c and c:FindFirstChild("HumanoidRootPart")
end

local function getHum()
    local c = LocalPlayer.Character
    return c and c:FindFirstChildOfClass("Humanoid")
end

local Targets = { list = {}, hums = {}, isBot = {} }
local BOT_KEYWORDS = {
    "piggy","bot","npc","zizzy","pony","mimi","bunny","doggy",
    "mr.p","mr p","mrp","sheepy","george","memory","antagonist"
}

local function looksLikeBot(char)
    local n = char.Name:lower()
    for _, kw in ipairs(BOT_KEYWORDS) do
        if n:find(kw, 1, true) then return true end
    end
    return not Players:GetPlayerFromCharacter(char)
end

local function refreshTargets()
    table.clear(Targets.list)
    table.clear(Targets.hums)
    table.clear(Targets.isBot)
    
    for _, plr in ipairs(Players:GetPlayers()) do
        if plr ~= LocalPlayer and plr.Character then
            local char = plr.Character
            local root = char:FindFirstChild("HumanoidRootPart")
            local hum  = char:FindFirstChildOfClass("Humanoid")
            if root and hum and hum.Health > 0 then
                Targets.list[root]  = char
                Targets.hums[root]  = hum
                Targets.isBot[root] = false
            end
        end
    end

    for _, obj in ipairs(workspace:GetDescendants()) do
        if obj:IsA("Model") and obj ~= LocalPlayer.Character then
            local hum  = obj:FindFirstChildOfClass("Humanoid")
            local root = obj:FindFirstChild("HumanoidRootPart")
            if hum and root and hum.Health > 0 and looksLikeBot(obj) then
                Targets.list[root]  = obj
                Targets.hums[root]  = hum
                Targets.isBot[root] = true
            end
        end
    end
end

task.spawn(function()
    while task.wait(0.5) do
        pcall(refreshTargets)
    end
end)

local ESP = { pool = {}, active = {}, maxPool = 100 }
local espGui = Instance.new("ScreenGui")
espGui.Name = "PiggyESP_Overlay"
espGui.ResetOnSpawn = false
espGui.IgnoreGuiInset = true
pcall(function() espGui.Parent = game:GetService("CoreGui") end)
if not espGui.Parent then espGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end

local function acquireEntry()
    local t = table.remove(ESP.pool)
    if t then return t end
    
    local box = Instance.new("Frame")
    box.BackgroundTransparency = 1; box.BorderSizePixel = 0; box.Visible = false; box.Parent = espGui
    local stroke = Instance.new("UIStroke"); stroke.Thickness = 1; stroke.Parent = box
    
    local nameLbl = Instance.new("TextLabel")
    nameLbl.BackgroundTransparency = 1; nameLbl.Font = Enum.Font.RobotoMono; nameLbl.TextSize = 12
    nameLbl.TextStrokeTransparency = 0; nameLbl.TextStrokeColor3 = C.Black
    nameLbl.Size = UDim2.new(0, 240, 0, 14); nameLbl.TextXAlignment = Enum.TextXAlignment.Center
    nameLbl.Visible = false; nameLbl.Parent = espGui
    
    local distLbl = Instance.new("TextLabel")
    distLbl.BackgroundTransparency = 1; distLbl.Font = Enum.Font.RobotoMono; distLbl.TextSize = 10
    distLbl.TextStrokeTransparency = 0; distLbl.TextStrokeColor3 = C.Black
    distLbl.Size = UDim2.new(0, 120, 0, 12); distLbl.TextXAlignment = Enum.TextXAlignment.Center
    distLbl.Visible = false; distLbl.Parent = espGui
    
    local hpBg = Instance.new("Frame")
    hpBg.BackgroundColor3 = Color3.fromRGB(40,40,40); hpBg.BorderSizePixel = 0; hpBg.Visible = false; hpBg.Parent = espGui
    
    local hpBar = Instance.new("Frame")
    hpBar.BackgroundColor3 = C.HealthHigh; hpBar.BorderSizePixel = 0; hpBar.Visible = false; hpBar.Parent = espGui
    
    return { Box = box, Stroke = stroke, Name = nameLbl, Dist = distLbl, HpBg = hpBg, HpBar = hpBar }
end

local function releaseEntry(e)
    if not e then return end
    e.Box.Visible = false; e.Name.Visible = false; e.Dist.Visible = false
    e.HpBg.Visible = false; e.HpBar.Visible = false
    if #ESP.pool < ESP.maxPool then table.insert(ESP.pool, e) else
        e.Box:Destroy(); e.Name:Destroy(); e.Dist:Destroy(); e.HpBg:Destroy(); e.HpBar:Destroy()
    end
end

local ITEM_PATTERNS = {"key","lockpick","hammer","screwdriver","wrench","gas","cank","canister","battery","fuse","gun","weapon","knife","bat","crowbar","flashlight","coin","ticket","trophy","cure","antidote"}
local EXIT_PATTERNS = {"exit","escape","door","goal","objective","checkpoint","elevator","gate"}

local function matchesAny(name, patterns)
    if not name then return false end
    local l = name:lower()
    for _, p in ipairs(patterns) do if l:find(p, 1, true) then return true end end
    return false
end

local WorldObjects = {}
local function refreshWorldObjects()
    table.clear(WorldObjects)
    local hrp = getHRP()
    if not hrp then return end
    
    for _, obj in ipairs(workspace:GetDescendants()) do
        if obj:IsA("BasePart") and obj.Name ~= "" then
            local isItem = State.ItemESP and matchesAny(obj.Name, ITEM_PATTERNS)
            local isExit = State.ExitESP and matchesAny(obj.Name, EXIT_PATTERNS)
            if isItem or isExit then
                local d = (obj.Position - hrp.Position).Magnitude
                if d <= State.ESP_MaxDist then
                    table.insert(WorldObjects, { part = obj, dist = d, cat = isExit and "EXIT" or "ITEM" })
                end
            end
        end
    end
end

RunService.RenderStepped:Connect(function()
    if not (State.ItemESP or State.PiggyESP or State.PlayerESP or State.ExitESP) then
        for _, e in pairs(ESP.active) do releaseEntry(e) end
        table.clear(ESP.active)
        return
    end
    
    local hrp = getHRP()
    if not hrp then return end
    
    local vp = camera.ViewportSize
    local nowUsed = {}
    
    for root, char in pairs(Targets.list) do
        if char and char.Parent and root and root.Parent then
            local hum = Targets.hums[root]
            if hum and hum.Health > 0 then
                local isBot = Targets.isBot[root]
                local wanted = (isBot and State.PiggyESP) or (not isBot and State.PlayerESP)
                if wanted then
                    local dist = (root.Position - hrp.Position).Magnitude
                    if dist <= State.ESP_MaxDist then
                        local e = ESP.active[root]
                        if not e then e = acquireEntry(); ESP.active[root] = e end
                        nowUsed[root] = true
                        
                        local pos, onScreen = camera:WorldToViewportPoint(root.Position)
                        if onScreen and pos.Z > 0 and pos.X > -100 and pos.X < vp.X + 100 and pos.Y > -100 and pos.Y < vp.Y + 100 then
                            local scale = 1000 / math.max(dist, 1)
                            local boxW = math.clamp(3 * scale, 12, 220)
                            local boxH = boxW * 1.5
                            local col = isBot and C.Bot or C.Player
                            
                            if State.ESP_Boxes then
                                e.Box.Size = UDim2.new(0, boxW, 0, boxH)
                                e.Box.Position = UDim2.new(0, pos.X - boxW*0.5, 0, pos.Y - boxH*0.5)
                                e.Box.Visible = true
                                e.Stroke.Color = col
                            else e.Box.Visible = false end
                            
                            if State.ESP_Names then
                                e.Name.Text = (isBot and "[BOT] " or "") .. char.Name
                                e.Name.TextColor3 = col
                                e.Name.Position = UDim2.new(0, pos.X - 120, 0, pos.Y - boxH*0.5 - 16)
                                e.Name.Visible = true
                            else e.Name.Visible = false end
                            
                            if State.ESP_Distances then
                                e.Dist.Text = string.format("%dm", math.floor(dist))
                                e.Dist.TextColor3 = col
                                e.Dist.Position = UDim2.new(0, pos.X - 60, 0, pos.Y + boxH*0.5 + 2)
                                e.Dist.Visible = true
                            else e.Dist.Visible = false end
                            
                            if State.ESP_Health then
                                local pct = math.clamp(hum.Health / math.max(hum.MaxHealth, 1), 0, 1)
                                local barX = pos.X - boxW*0.5 - 6
                                e.HpBg.Size = UDim2.new(0, 4, 0, boxH + 2)
                                e.HpBg.Position = UDim2.new(0, barX - 1, 0, pos.Y - boxH*0.5 - 1)
                                e.HpBg.Visible = true
                                local hh = boxH * pct
                                e.HpBar.Size = UDim2.new(0, 4, 0, hh)
                                e.HpBar.Position = UDim2.new(0, barX, 0, pos.Y + boxH*0.5 - hh)
                                e.HpBar.BackgroundColor3 = pct > 0.6 and C.HealthHigh or pct > 0.3 and C.HealthMid or C.HealthLow
                                e.HpBar.Visible = true
                            else
                                e.HpBg.Visible = false; e.HpBar.Visible = false
                            end
                        else
                            e.Box.Visible = false; e.Name.Visible = false; e.Dist.Visible = false
                            e.HpBg.Visible = false; e.HpBar.Visible = false
                        end
                    end
                end
            end
        end
    end
    
    for _, info in ipairs(WorldObjects) do
        local part = info.part
        if part and part.Parent then
            local e = ESP.active[part]
            if not e then e = acquireEntry(); ESP.active[part] = e end
            nowUsed[part] = true
            
            local pos, onScreen = camera:WorldToViewportPoint(part.Position)
            if onScreen and pos.Z > 0 and pos.X > -80 and pos.X < vp.X + 80 and pos.Y > -80 and pos.Y < vp.Y + 80 then
                local scale = 1000 / math.max(info.dist, 1)
                local sz = math.clamp(2 * scale, 10, 80)
                local col = info.cat == "EXIT" and C.Exit or C.Item
                
                if State.ESP_Boxes then
                    e.Box.Size = UDim2.new(0, sz, 0, sz)
                    e.Box.Position = UDim2.new(0, pos.X - sz*0.5, 0, pos.Y - sz*0.5)
                    e.Box.Visible = true
                    e.Stroke.Color = col
                else e.Box.Visible = false end
                
                if State.ESP_Names then
                    e.Name.Text = part.Name
                    e.Name.TextColor3 = col
                    e.Name.Position = UDim2.new(0, pos.X - 120, 0, pos.Y - sz*0.5 - 16)
                    e.Name.Visible = true
                else e.Name.Visible = false end
                
                if State.ESP_Distances then
                    e.Dist.Text = string.format("%dm", math.floor(info.dist))
                    e.Dist.TextColor3 = col
                    e.Dist.Position = UDim2.new(0, pos.X - 60, 0, pos.Y + sz*0.5 + 2)
                    e.Dist.Visible = true
                else e.Dist.Visible = false end
                
                e.HpBg.Visible = false; e.HpBar.Visible = false
            else
                e.Box.Visible = false; e.Name.Visible = false; e.Dist.Visible = false
                e.HpBg.Visible = false; e.HpBar.Visible = false
            end
        end
    end
    
    for inst, e in pairs(ESP.active) do
        if not nowUsed[inst] or not inst.Parent then
            releaseEntry(e)
            ESP.active[inst] = nil
        end
    end
end)

task.spawn(function()
    while task.wait(1.5) do
        if State.ItemESP or State.ExitESP then
            pcall(refreshWorldObjects)
        end
    end
end)

MainTab:CreateSection("Movement")

MainTab:CreateSlider({
    Name = "WalkSpeed",
    Range = {16, 200},
    Increment = 1,
    Suffix = " Speed",
    CurrentValue = 30,
    Flag = "WalkSpeedSlider",
    Callback = function(v)
        State.WSpeed = v
        if State.WalkSpeed then
            local h = getHum()
            if h then h.WalkSpeed = v end
        end
    end,
})

MainTab:CreateToggle({
    Name = "Enable WalkSpeed",
    CurrentValue = false,
    Flag = "WalkSpeedToggle",
    Callback = function(on)
        State.WalkSpeed = on
        local h = getHum()
        if h then h.WalkSpeed = on and State.WSpeed or 16 end
    end,
})

MainTab:CreateSlider({
    Name = "JumpPower",
    Range = {50, 300},
    Increment = 1,
    Suffix = " Power",
    CurrentValue = 60,
    Flag = "JumpPowerSlider",
    Callback = function(v)
        State.JPower = v
        if State.JumpPower then
            local h = getHum()
            if h then h.UseJumpPower = true; h.JumpPower = v end
        end
    end,
})

MainTab:CreateToggle({
    Name = "Enable JumpPower",
    CurrentValue = false,
    Flag = "JumpPowerToggle",
    Callback = function(on)
        State.JumpPower = on
        local h = getHum()
        if h then
            h.UseJumpPower = true
            h.JumpPower = on and State.JPower or 50
        end
    end,
})

MainTab:CreateToggle({
    Name = "Infinite Jump",
    CurrentValue = false,
    Flag = "InfiniteJump",
    Callback = function(on) State.InfiniteJump = on end,
})

MainTab:CreateSection("Physics")

MainTab:CreateToggle({
    Name = "Noclip",
    CurrentValue = false,
    Flag = "Noclip",
    Callback = function(on) State.Noclip = on end,
})

MainTab:CreateToggle({
    Name = "Godmode",
    CurrentValue = false,
    Flag = "Godmode",
    Callback = function(on)
        State.Godmode = on
        local h = getHum()
        if h and not on then h.MaxHealth = 100; h.Health = 100 end
    end,
})

MainTab:CreateSection("Flight")

MainTab:CreateToggle({
    Name = "Fly",
    CurrentValue = false,
    Flag = "Fly",
    Callback = function(on)
        State.Fly = on
        if not on then
            local hrp = getHRP()
            if hrp then hrp.Velocity = Vector3.zero; hrp.RotVelocity = Vector3.zero end
        end
    end,
})

MainTab:CreateSlider({
    Name = "Fly Speed",
    Range = {20, 200},
    Increment = 1,
    Suffix = " Speed",
    CurrentValue = 60,
    Flag = "FlySpeedSlider",
    Callback = function(v) State.FlySpeed = v end,
})

VisualsTab:CreateSection("Target ESP")

VisualsTab:CreateToggle({
    Name = "Player ESP",
    CurrentValue = true,
    Flag = "PlayerESP",
    Callback = function(on) State.PlayerESP = on end,
})

VisualsTab:CreateToggle({
    Name = "Piggy / Bot ESP",
    CurrentValue = true,
    Flag = "PiggyESP",
    Callback = function(on) State.PiggyESP = on end,
})

VisualsTab:CreateSection("World ESP")

VisualsTab:CreateToggle({
    Name = "Item ESP",
    CurrentValue = true,
    Flag = "ItemESP",
    Callback = function(on) State.ItemESP = on end,
})

VisualsTab:CreateToggle({
    Name = "Exit / Objective ESP",
    CurrentValue = true,
    Flag = "ExitESP",
    Callback = function(on) State.ExitESP = on end,
})

VisualsTab:CreateSection("Display")

VisualsTab:CreateToggle({
    Name = "Boxes",
    CurrentValue = true,
    Flag = "ESP_Boxes",
    Callback = function(on) State.ESP_Boxes = on end,
})

VisualsTab:CreateToggle({
    Name = "Names",
    CurrentValue = true,
    Flag = "ESP_Names",
    Callback = function(on) State.ESP_Names = on end,
})

VisualsTab:CreateToggle({
    Name = "Distances",
    CurrentValue = true,
    Flag = "ESP_Distances",
    Callback = function(on) State.ESP_Distances = on end,
})

VisualsTab:CreateToggle({
    Name = "Health Bars",
    CurrentValue = true,
    Flag = "ESP_Health",
    Callback = function(on) State.ESP_Health = on end,
})

VisualsTab:CreateSection("Range")

VisualsTab:CreateSlider({
    Name = "Max Distance (studs)",
    Range = {50, 2000},
    Increment = 10,
    Suffix = " studs",
    CurrentValue = 500,
    Flag = "ESP_MaxDist",
    Callback = function(v) State.ESP_MaxDist = v end,
})

VisualsTab:CreateSection("Environment")

VisualsTab:CreateToggle({
    Name = "Fullbright",
    CurrentValue = false,
    Flag = "Fullbright",
    Callback = function(on)
        State.Fullbright = on
        if on then
            Lighting.Ambient = Color3.fromRGB(200,200,200)
            Lighting.OutdoorAmbient = Color3.fromRGB(200,200,200)
            Lighting.Brightness = 2
        else
            Lighting.Ambient = Color3.fromRGB(70,70,70)
            Lighting.OutdoorAmbient = Color3.fromRGB(70,70,70)
            Lighting.Brightness = 1
        end
    end,
})

VisualsTab:CreateToggle({
    Name = "No Fog",
    CurrentValue = false,
    Flag = "NoFog",
    Callback = function(on)
        State.NoFog = on
        if on then
            Lighting.FogEnd = 1e6; Lighting.FogStart = 0
        else
            Lighting.FogEnd = 100000; Lighting.FogStart = 0
        end
    end,
})

TeleportTab:CreateSection("Teleport")

local function safeTeleport(cf)
    local hrp = getHRP()
    if not hrp then return end
    hrp.CFrame = cf
    hrp.Velocity = Vector3.zero
    hrp.RotVelocity = Vector3.zero
end

TeleportTab:CreateButton({
    Name = "Teleport to Exit",
    Callback = function()
        for _, obj in ipairs(workspace:GetDescendants()) do
            if obj:IsA("BasePart") and obj.Name:lower():find("exit", 1, true) then
                safeTeleport(CFrame.new(obj.Position + Vector3.new(0,4,0)))
                return
            end
        end
    end,
})

TeleportTab:CreateButton({
    Name = "Teleport to Nearest Item",
    Callback = function()
        local hrp = getHRP()
        if not hrp then return end
        local nearest, dist = nil, math.huge
        for _, obj in ipairs(workspace:GetDescendants()) do
            if obj:IsA("BasePart") and matchesAny(obj.Name, ITEM_PATTERNS) then
                local d = (obj.Position - hrp.Position).Magnitude
                if d < dist then nearest, dist = obj, d end
            end
        end
        if nearest then safeTeleport(CFrame.new(nearest.Position + Vector3.new(0,4,0))) end
    end,
})

local playerIndex = 0
local playerNames = {}
local function refreshPlayerList()
    playerNames = {}
    for _, p in ipairs(Players:GetPlayers()) do
        if p ~= LocalPlayer then table.insert(playerNames, p.Name) end
    end
end
refreshPlayerList()

local plrBtn = TeleportTab:CreateButton({
    Name = "Target Player: (none) — tap to cycle",
    Callback = function()
        refreshPlayerList()
        if #playerNames == 0 then return end
        playerIndex = (playerIndex % #playerNames) + 1
        plrBtn:SetText("Target: " .. playerNames[playerIndex] .. " — tap to cycle")
    end,
})

TeleportTab:CreateButton({
    Name = "Teleport to Selected Player",
    Callback = function()
        if #playerNames == 0 or playerIndex == 0 then return end
        local target = Players:FindFirstChild(playerNames[playerIndex])
        if target and target.Character then
            local hrp = target.Character:FindFirstChild("HumanoidRootPart")
            if hrp then safeTeleport(CFrame.new(hrp.Position + Vector3.new(0,4,0))) end
        end
    end,
})

UtilityTab:CreateSection("Protection")

UtilityTab:CreateToggle({
    Name = "Anti-Jumpscare",
    CurrentValue = false,
    Flag = "AntiJumpscare",
    Callback = function(on) State.AntiJumpscare = on end,
})

UtilityTab:CreateToggle({
    Name = "Anti-AFK",
    CurrentValue = false,
    Flag = "AntiAFK",
    Callback = function(on) State.AntiAFK = on end,
})

UtilityTab:CreateSection("Discord")

UtilityTab:CreateButton({
    Name = "Copy Discord Invite",
    Callback = function()
        local invite = "https://discord.gg/bNEk4D2d4F"
        if setclipboard then
            pcall(setclipboard, invite)
        elseif toclipboard then
            pcall(toclipboard, invite)
        end
    end,
})

UtilityTab:CreateSection("Server")

UtilityTab:CreateButton({
    Name = "Rejoin Server",
    Callback = function()
        TeleportService:Teleport(game.PlaceId, LocalPlayer)
    end,
})

UtilityTab:CreateButton({
    Name = "Server Hop (smallest server)",
    Callback = function()
        local ok, result = pcall(function()
            local url = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"
            return HttpService:JSONDecode(game:HttpGet(url))
        end)
        if not ok or not result or not result.data then return end
        for _, srv in ipairs(result.data) do
            if srv.playing < srv.maxPlayers and srv.id ~= game.JobId then
                TeleportService:TeleportToPlaceInstance(game.PlaceId, srv.id, LocalPlayer)
                return
            end
        end
    end,
})

UtilityTab:CreateButton({
    Name = "Copy JobId",
    Callback = function()
        if setclipboard then pcall(setclipboard, game.JobId) end
    end,
})

UtilityTab:CreateButton({
    Name = "Unload Script",
    Callback = function()
        for part in pairs(ESP.active) do releaseEntry(ESP.active[part]) end
        table.clear(ESP.active)
        espGui:Destroy()
        Window:Destroy()
    end,
})

RunService.Stepped:Connect(function()
    if not State.Noclip then return end
    local char = LocalPlayer.Character
    if not char then return end
    for _, p in ipairs(char:GetDescendants()) do
        if p:IsA("BasePart") and p.CanCollide then
            p.CanCollide = false
        end
    end
end)

RunService.Heartbeat:Connect(function()
    local h = getHum()
    if not h then return end
    if State.WalkSpeed and h.WalkSpeed ~= State.WSpeed then h.WalkSpeed = State.WSpeed end
    if State.JumpPower then
        h.UseJumpPower = true
        if h.JumpPower ~= State.JPower then h.JumpPower = State.JPower end
    end
    if State.Godmode then
        h.MaxHealth = math.huge
        h.Health = math.huge
    end
end)

UserInputService.JumpRequest:Connect(function()
    if not State.InfiniteJump then return end
    local h = getHum()
    if h then h:ChangeState(Enum.HumanoidStateType.Jumping) end
end)

do
    local bodyVel, bodyGyro
    local function startFly()
        local hrp = getHRP()
        if not hrp then return end
        bodyVel = Instance.new("BodyVelocity")
        bodyVel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
        bodyVel.Velocity = Vector3.zero
        bodyVel.Parent = hrp
        bodyGyro = Instance.new("BodyGyro")
        bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
        bodyGyro.P = 10000
        bodyGyro.CFrame = hrp.CFrame
        bodyGyro.Parent = hrp
    end
    local function stopFly()
        if bodyVel then bodyVel:Destroy(); bodyVel = nil end
        if bodyGyro then bodyGyro:Destroy(); bodyGyro = nil end
    end
    RunService.Heartbeat:Connect(function()
        if not State.Fly then
            if bodyVel then stopFly() end
            return
        end
        local hrp = getHRP()
        if not hrp then return end
        if not bodyVel then startFly() return end
        local dir = Vector3.zero
        local cam = camera.CFrame
        if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir += cam.LookVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir -= cam.LookVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir -= cam.RightVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir += cam.RightVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.new(0,1,0) end
        if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then dir -= Vector3.new(0,1,0) end
        if dir.Magnitude > 0 then dir = dir.Unit end
        bodyVel.Velocity = dir * State.FlySpeed
        bodyGyro.CFrame = cam
    end)
end

task.spawn(function()
    while task.wait(0.5) do
        if State.AntiJumpscare then
            local playerGui = LocalPlayer:FindFirstChild("PlayerGui")
            if playerGui then
                for _, g in ipairs(playerGui:GetChildren()) do
                    if g:IsA("ScreenGui") and g.Name:lower():find("jumpscare", 1, true) then
                        g.Enabled = false
                    end
                end
            end
        end
    end
end)

do
    local vu = Instance.new("VirtualUser")
    vu.Parent = Players
    task.spawn(function()
        while task.wait(60) do
            if State.AntiAFK then
                pcall(function() vu:CaptureController() end)
                pcall(function() vu:ClickButton2(Vector2.new()) end)
            end
        end
    end)
end

Similar Scripts

StarHack Hub Script Piggy [NO KEY]: Traitor ESP, Grabber

No Key • 2 months ago

Tiger X Hub Script Piggy [NO KEY]: Steal Maps, Fling Bots

No Key • 2 months ago

PePPa Pig Script Piggy [NO KEY]: Control Piggy, God Mode

No Key • 2 months ago

Fish for Secret Animals Script Tora IsMe: Instant Cast

No Key • 4 hours ago

Jujutsu Shenanigans Script Moondiety: Auto Farm, Kill Aura

No Key • 4 hours ago