my reel f3x gui
Key RequiredUniversal

my reel f3x gui

Universal Scriptd3crypted9d3crypted9 1.1K views 50 executesUpdated Mar 15, 2026
0.0/ 5(1 votes)
010% Positive
Lua Scriptβ€’1510 lines (59935 chars)
-- d3crypted9 gui v2
-- xeno compatible

local Players    = game:GetService("Players")
local RS         = game:GetService("ReplicatedStorage")
local UIS        = game:GetService("UserInputService")
local RUN        = game:GetService("RunService")
local TS         = game:GetService("TweenService")
local plr        = Players.LocalPlayer

local DECAL_PENGUIN = "112893935399276"
local DECAL_D3_1    = "128658817438699"
local DECAL_D3_2    = "106560489116568"
local DECAL_FLX     = "139542979075343"
local PART_1        = "128658817438699"
local PART_2        = "106560489116568"
local PART_FLX1     = "120337995283416"
local PART_FLX2     = "139542979075343"

local COL_BG     = Color3.fromRGB(8, 0, 0)
local COL_BTN    = Color3.fromRGB(18, 0, 0)
local COL_BORDER = Color3.fromRGB(255, 255, 255)
local COL_TEXT   = Color3.fromRGB(255, 255, 255)
local COL_SEC    = Color3.fromRGB(200, 80, 80)
local COL_RED    = Color3.fromRGB(200, 0, 0)
local COL_HOVER  = Color3.fromRGB(60, 0, 0)
local COL_ACT    = Color3.fromRGB(60, 0, 0)

-- destroy old
pcall(function()
    local cg = game:GetService("CoreGui")
    local old = cg:FindFirstChild("D3GUIv2")
    if old then old:Destroy() end
end)
pcall(function()
    local old = plr.PlayerGui:FindFirstChild("D3GUIv2")
    if old then old:Destroy() end
end)

local sg = Instance.new("ScreenGui")
sg.Name = "D3GUIv2"
sg.ResetOnSpawn = false
sg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

local parented = false
if not parented then
    pcall(function()
        local hui = gethui()
        if hui then sg.Parent = hui parented = true end
    end)
end
if not parented then
    pcall(function() sg.Parent = game:GetService("CoreGui") parented = true end)
end
if not parented then
    sg.Parent = plr.PlayerGui
end

-- main frame
local mainFrame = Instance.new("Frame")
mainFrame.Name = "main"
mainFrame.Size = UDim2.new(0, 430, 0, 600)
mainFrame.Position = UDim2.new(0.03, 0, 0.05, 0)
mainFrame.BackgroundColor3 = COL_BG
mainFrame.BackgroundTransparency = 0.15
mainFrame.BorderColor3 = COL_BORDER
mainFrame.BorderSizePixel = 2
mainFrame.Parent = sg

-- title bar
local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1, 0, 0, 36)
titleBar.BackgroundColor3 = Color3.fromRGB(10, 0, 0)
titleBar.BackgroundTransparency = 0.05
titleBar.BorderColor3 = COL_BORDER
titleBar.BorderSizePixel = 2
titleBar.Parent = mainFrame

local titleAccent = Instance.new("Frame")
titleAccent.Size = UDim2.new(1, 0, 0, 2)
titleAccent.Position = UDim2.new(0, 0, 1, -2)
titleAccent.BackgroundColor3 = COL_RED
titleAccent.BorderSizePixel = 0
titleAccent.Parent = titleBar

local titleLabel = Instance.new("TextLabel")
titleLabel.Text = "d3crypted9 gui v2 \240\159\164\145\240\159\164\145"
titleLabel.Size = UDim2.new(1, -42, 1, 0)
titleLabel.Position = UDim2.new(0, 8, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.TextColor3 = COL_TEXT
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.TextSize = 16
titleLabel.TextXAlignment = Enum.TextXAlignment.Left
titleLabel.Parent = titleBar

local closeBtn = Instance.new("TextButton")
closeBtn.Text = "x"
closeBtn.Size = UDim2.new(0, 28, 0, 28)
closeBtn.Position = UDim2.new(1, -32, 0, 4)
closeBtn.BackgroundColor3 = COL_RED
closeBtn.BorderColor3 = COL_BORDER
closeBtn.BorderSizePixel = 2
closeBtn.TextColor3 = COL_TEXT
closeBtn.Font = Enum.Font.SourceSansBold
closeBtn.TextSize = 14
closeBtn.AutoButtonColor = false
closeBtn.Parent = titleBar
closeBtn.MouseButton1Click:Connect(function() sg:Destroy() end)
closeBtn.MouseEnter:Connect(function() closeBtn.BackgroundColor3 = Color3.fromRGB(160, 0, 0) end)
closeBtn.MouseLeave:Connect(function() closeBtn.BackgroundColor3 = COL_RED end)

-- drag
local dragging = false
local dragStart = nil
local startPos = nil
local dragTween = nil
titleBar.InputBegan:Connect(function(inp)
    if inp.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = inp.Position
        startPos = mainFrame.Position
        inp.Changed:Connect(function()
            if inp.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)
UIS.InputChanged:Connect(function(inp)
    if dragging and inp.UserInputType == Enum.UserInputType.MouseMovement then
        local d = inp.Position - dragStart
        local tp = UDim2.new(
            startPos.X.Scale, startPos.X.Offset + d.X,
            startPos.Y.Scale, startPos.Y.Offset + d.Y
        )
        if dragTween then dragTween:Cancel() end
        dragTween = TS:Create(mainFrame,
            TweenInfo.new(0.07, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
            {Position = tp}
        )
        dragTween:Play()
    end
end)

-- scroll
local scroll = Instance.new("ScrollingFrame")
scroll.Size = UDim2.new(1, 0, 1, -38)
scroll.Position = UDim2.new(0, 0, 0, 38)
scroll.BackgroundTransparency = 1
scroll.BorderSizePixel = 0
scroll.ScrollBarThickness = 4
scroll.ScrollBarImageColor3 = COL_RED
scroll.CanvasSize = UDim2.new(0, 0, 0, 100)
scroll.Parent = mainFrame

local BTNW  = 198
local BTNH  = 40
local GAPX  = 4
local GAPY  = 4
local XLEFT  = 4
local XRIGHT = 4 + BTNW + GAPX

local function makeBtn(parent, txt)
    local b = Instance.new("TextButton")
    b.Text = txt .. " \240\159\164\145\240\159\164\145"
    b.Size = UDim2.new(0, BTNW, 0, BTNH)
    b.BackgroundColor3 = COL_BTN
    b.BackgroundTransparency = 0.1
    b.BorderColor3 = COL_BORDER
    b.BorderSizePixel = 2
    b.TextColor3 = COL_TEXT
    b.Font = Enum.Font.SourceSans
    b.TextSize = 13
    b.AutoButtonColor = false
    b.TextWrapped = true
    b.Parent = parent
    b.MouseEnter:Connect(function()
        b.BackgroundColor3 = COL_HOVER
    end)
    b.MouseLeave:Connect(function()
        if b.BackgroundColor3 ~= COL_ACT then
            b.BackgroundColor3 = COL_BTN
        end
    end)
    return b
end

local function makeSection(parent, txt, posY)
    local bg = Instance.new("Frame")
    bg.Size = UDim2.new(1, -8, 0, 20)
    bg.Position = UDim2.new(0, 4, 0, posY)
    bg.BackgroundColor3 = Color3.fromRGB(5, 0, 0)
    bg.BackgroundTransparency = 0.2
    bg.BorderColor3 = COL_RED
    bg.BorderSizePixel = 1
    bg.Parent = parent
    local lbl = Instance.new("TextLabel")
    lbl.Text = "[ " .. txt .. " ]"
    lbl.Size = UDim2.new(1, -8, 1, 0)
    lbl.Position = UDim2.new(0, 6, 0, 0)
    lbl.BackgroundTransparency = 1
    lbl.TextColor3 = COL_SEC
    lbl.Font = Enum.Font.SourceSansBold
    lbl.TextSize = 11
    lbl.TextXAlignment = Enum.TextXAlignment.Left
    lbl.Parent = bg
end

local function place(btn, col, row, baseY)
    btn.Position = UDim2.new(0, col == 0 and XLEFT or XRIGHT, 0, baseY + row * (BTNH + GAPY))
end

local function setToggle(btn, active, onTxt, offTxt)
    local suffix = " \240\159\164\145\240\159\164\145"
    btn.Text = (active and (onTxt .. " [ON]") or offTxt) .. suffix
    btn.BorderColor3 = active and COL_RED or COL_BORDER
    btn.BackgroundColor3 = active and COL_ACT or COL_BTN
end

-- toggle show button
local togBtn = Instance.new("TextButton")
togBtn.Size = UDim2.new(0, 170, 0, 26)
togBtn.Position = UDim2.new(0, 10, 1, -36)
togBtn.BackgroundColor3 = Color3.fromRGB(140, 0, 0)
togBtn.BorderColor3 = Color3.fromRGB(255, 50, 50)
togBtn.BorderSizePixel = 1
togBtn.Text = "d3crypted9 v2 \240\159\164\145\240\159\164\145"
togBtn.TextColor3 = COL_TEXT
togBtn.Font = Enum.Font.SourceSansBold
togBtn.TextSize = 12
togBtn.ZIndex = 10
togBtn.Parent = sg
togBtn.MouseButton1Click:Connect(function()
    mainFrame.Visible = not mainFrame.Visible
end)

-- =====================================================
-- CORE HELPERS
-- =====================================================

local function cmd(c)
    pcall(function()
        for _, v in pairs(RS:GetDescendants()) do
            if v.Name == "RequestCommandSilent" then
                if v:IsA("RemoteFunction") then
                    pcall(function() v:InvokeServer(c) end)
                elseif v:IsA("RemoteEvent") then
                    pcall(function() v:FireServer(c) end)
                end
            end
        end
    end)
    pcall(function()
        local m = RS:FindFirstChild("MainEvent")
        if m then m:FireServer(c) end
    end)
end

local function getF3X()
    for _, v in pairs(plr:GetDescendants()) do
        if v.Name == "SyncAPI" then return v.ServerEndpoint end
    end
    for _, v in pairs(RS:GetDescendants()) do
        if v.Name == "SyncAPI" then return v.ServerEndpoint end
    end
    return nil
end

local function f3x(ep, args)
    pcall(function() ep:InvokeServer(unpack(args)) end)
end

local tracked = {}
local function snap()
    tracked = {}
    for _, v in pairs(workspace:GetDescendants()) do
        if v:IsA("BasePart") then tracked[v] = true end
    end
end

local function newPart(t)
    local found = nil
    local elapsed = 0
    repeat
        wait(0.05)
        elapsed = elapsed + 0.05
        for _, v in pairs(workspace:GetDescendants()) do
            if v:IsA("BasePart") and not tracked[v] then
                local inChar = false
                local c = plr.Character
                if c then
                    local a = v
                    while a do
                        if a == c then inChar = true break end
                        a = a.Parent
                    end
                end
                if not inChar then found = v break end
            end
        end
    until found or elapsed >= t
    return found
end

local function spamDecal(id)
    local ep = getF3X()
    if not ep then return end
    for _, v in pairs(workspace:GetDescendants()) do
        if v:IsA("BasePart") then
            spawn(function()
                f3x(ep, {"SetLocked", {v}, false})
                for _, face in pairs(Enum.NormalId:GetEnumItems()) do
                    f3x(ep, {"CreateTextures", {{Part=v, Face=face, TextureType="Decal"}}})
                    f3x(ep, {"SyncTexture", {{Part=v, Face=face, TextureType="Decal", Texture="rbxassetid://"..id}}})
                end
            end)
        end
    end
end

local function makeSkybox(id, name)
    local ep = getF3X()
    if not ep then return end
    local c = plr.Character
    if not c then return end
    local hrp = c:FindFirstChild("HumanoidRootPart")
    if not hrp then return end
    snap()
    f3x(ep, {"CreatePart", "Normal", hrp.CFrame, workspace})
    wait(0.5)
    local v = newPart(3)
    if not v then return end
    f3x(ep, {"SetName", {v}, name})
    f3x(ep, {"CreateMeshes", {{Part=v}}})
    f3x(ep, {"SyncMesh", {{Part=v, MeshId="rbxassetid://111891702759441"}}})
    f3x(ep, {"SyncMesh", {{Part=v, TextureId="rbxassetid://"..id}}})
    f3x(ep, {"SyncMesh", {{Part=v, Scale=Vector3.new(99999, 99999, 99999)}}})
    f3x(ep, {"SyncAnchor", {{Part=v, Anchored=true}}})
    f3x(ep, {"SetLocked", {v}, true})
    f3x(ep, {"SyncCollision", {{Part=v, CanCollide=false}}})
end

local function applyParticles(id)
    local ep = getF3X()
    if not ep then cmd(";sparkles all") return end
    for _, p in pairs(Players:GetPlayers()) do
        local c = p.Character
        if c then
            for _, part in pairs(c:GetDescendants()) do
                if part:IsA("BasePart") then
                    spawn(function()
                        pcall(function()
                            f3x(ep, {"SetLocked", {part}, false})
                            f3x(ep, {"CreateParticles", {{Part=part}}})
                            f3x(ep, {"SyncParticle", {{Part=part, Texture="rbxassetid://"..id, Rate=50, Speed=10, Lifetime=1.5}}})
                        end)
                    end)
                end
            end
        end
    end
end

-- =====================================================
-- BUTTON DECLARATIONS
-- =====================================================

-- TEAM
local Y = 4
makeSection(scroll, "team", Y)
local TB = Y + 24

local smPenBtn    = makeBtn(scroll, "sm join penguin")
local smD3Btn     = makeBtn(scroll, "sm join d3crypted9")
local hintPenBtn  = makeBtn(scroll, "hint join penguin")
local hintD3Btn   = makeBtn(scroll, "hint join d3crypted9")
local shintPenBtn = makeBtn(scroll, "shint join penguin")
local shintD3Btn  = makeBtn(scroll, "shint join d3crypted9")
local notPenBtn   = makeBtn(scroll, "notice join penguin")
local notD3Btn    = makeBtn(scroll, "notice join d3crypted9")

place(smPenBtn,   0, 0, TB); place(smD3Btn,    1, 0, TB)
place(hintPenBtn, 0, 1, TB); place(hintD3Btn,  1, 1, TB)
place(shintPenBtn,0, 2, TB); place(shintD3Btn, 1, 2, TB)
place(notPenBtn,  0, 3, TB); place(notD3Btn,   1, 3, TB)

local T_END = TB + 4 * (BTNH + GAPY)

-- TITLES
makeSection(scroll, "titles", T_END + 8)
local TITB = T_END + 32

local titlerAllBtn  = makeBtn(scroll, "titler all haxxed by d3crypted9")
local titlebAllBtn  = makeBtn(scroll, "titleb all j0in t3am p3ng0in")
local titlebMeBtn   = makeBtn(scroll, "titleb me the penguin")
local titlerMeBtn   = makeBtn(scroll, "titler me d3crypted9")
local titlebFlxBtn  = makeBtn(scroll, "titleb me fluxokidd member")
local titlerFlxBtn  = makeBtn(scroll, "titler all haxxed by fluxo")
local titlerVictBtn = makeBtn(scroll, "titler all d3crypted9 victim")
local titlerHaxBtn  = makeBtn(scroll, "titler all d3crypted9 hax u")

place(titlerAllBtn, 0, 0, TITB); place(titlebAllBtn, 1, 0, TITB)
place(titlebMeBtn,  0, 1, TITB); place(titlerMeBtn,  1, 1, TITB)
place(titlebFlxBtn, 0, 2, TITB); place(titlerFlxBtn,  1, 2, TITB)
place(titlerVictBtn,0, 3, TITB); place(titlerHaxBtn,  1, 3, TITB)

local TIT_END = TITB + 4 * (BTNH + GAPY)

-- PLAYERS
makeSection(scroll, "players", TIT_END + 8)
local PB = TIT_END + 32

local bringAllBtn   = makeBtn(scroll, "bring all")
local killAllBtn    = makeBtn(scroll, "kill all")
local jailAllBtn    = makeBtn(scroll, "jail all")
local jailOthBtn    = makeBtn(scroll, "jail others")
local killOthBtn    = makeBtn(scroll, "kill others")
local loopKillBtn   = makeBtn(scroll, "loop kill all")
local freezeOthBtn  = makeBtn(scroll, "freeze others")
local crashOthBtn   = makeBtn(scroll, "crash others")
local flyAllBtn     = makeBtn(scroll, "fly all")
local flyOthBtn     = makeBtn(scroll, "fly others")
local unflyOthBtn   = makeBtn(scroll, "unfly others")
local explodeAllBtn = makeBtn(scroll, "explode all")
local loopExpBtn    = makeBtn(scroll, "loop explode all")
local r6AllBtn      = makeBtn(scroll, "r6 all")
local r15AllBtn     = makeBtn(scroll, "r15 all")
local charAuraBtn   = makeBtn(scroll, "char all aurahaxker")
local charFlxBtn    = makeBtn(scroll, "char all fluxokidd")
local tpMeBtn       = makeBtn(scroll, "tp all to me")
local shutdownBtn   = makeBtn(scroll, "shutdown")
local forcePBtn     = makeBtn(scroll, "forceplace all")
local loopJumpBtn   = makeBtn(scroll, "loop jump all")
local pingBtn       = makeBtn(scroll, "ping all")

place(bringAllBtn,  0, 0,  PB); place(killAllBtn,   1, 0,  PB)
place(jailAllBtn,   0, 1,  PB); place(jailOthBtn,   1, 1,  PB)
place(killOthBtn,   0, 2,  PB); place(loopKillBtn,  1, 2,  PB)
place(freezeOthBtn, 0, 3,  PB); place(crashOthBtn,  1, 3,  PB)
place(flyAllBtn,    0, 4,  PB); place(flyOthBtn,    1, 4,  PB)
place(unflyOthBtn,  0, 5,  PB); place(explodeAllBtn,1, 5,  PB)
place(loopExpBtn,   0, 6,  PB); place(r6AllBtn,     1, 6,  PB)
place(r15AllBtn,    0, 7,  PB); place(charAuraBtn,  1, 7,  PB)
place(charFlxBtn,   0, 8,  PB); place(tpMeBtn,      1, 8,  PB)
place(shutdownBtn,  0, 9,  PB); place(forcePBtn,    1, 9,  PB)
place(loopJumpBtn,  0, 10, PB); place(pingBtn,      1, 10, PB)

local P_END = PB + 11 * (BTNH + GAPY)

-- SELF
makeSection(scroll, "self", P_END + 8)
local SB = P_END + 32

local flyMeBtn      = makeBtn(scroll, "fly me")
local noclipBtn     = makeBtn(scroll, "noclip")
local btoolsMeBtn   = makeBtn(scroll, "btools me")
local cloneMeBtn    = makeBtn(scroll, "clone me")
local godMeBtn      = makeBtn(scroll, "god me")
local respawnMeBtn  = makeBtn(scroll, "respawn me")
local r6MeBtn       = makeBtn(scroll, "r6 me")
local r15MeBtn      = makeBtn(scroll, "r15 me")
local unkillMeBtn   = makeBtn(scroll, "unkill me")
local unloopKillBtn = makeBtn(scroll, "unloopkill me")

place(flyMeBtn,     0, 0, SB); place(noclipBtn,     1, 0, SB)
place(btoolsMeBtn,  0, 1, SB); place(cloneMeBtn,    1, 1, SB)
place(godMeBtn,     0, 2, SB); place(respawnMeBtn,  1, 2, SB)
place(r6MeBtn,      0, 3, SB); place(r15MeBtn,      1, 3, SB)
place(unkillMeBtn,  0, 4, SB); place(unloopKillBtn, 1, 4, SB)

local SF_END = SB + 5 * (BTNH + GAPY)

-- SPAM
makeSection(scroll, "spam", SF_END + 8)
local SPAB = SF_END + 32

local smHaxxBtn     = makeBtn(scroll, "sm haxxed by d3crypted9")
local shintHaxxBtn  = makeBtn(scroll, "shint haxxed by d3")
local spamMsgBtn    = makeBtn(scroll, "spam empty msg")
local spamCharBtn   = makeBtn(scroll, "spam char aura")
local chatD3Btn     = makeBtn(scroll, "chat spam d3crypted9")
local chatPenBtn    = makeBtn(scroll, "chat spam penguin")
local loopSMBtn     = makeBtn(scroll, "loop sm d3crypted9")
local loopSHBtn     = makeBtn(scroll, "loop shint d3crypted9")
local loopHintBtn   = makeBtn(scroll, "loop hint d3crypted9")
local syschatBtn    = makeBtn(scroll, "systemchat d3crypted9")
local syschatSpBtn  = makeBtn(scroll, "systemchat spam")
local hijackMeBtn   = makeBtn(scroll, "chathijack me")
local hijackOthBtn  = makeBtn(scroll, "chathijack others")

place(smHaxxBtn,    0, 0, SPAB); place(shintHaxxBtn, 1, 0, SPAB)
place(spamMsgBtn,   0, 1, SPAB); place(spamCharBtn,  1, 1, SPAB)
place(chatD3Btn,    0, 2, SPAB); place(chatPenBtn,   1, 2, SPAB)
place(loopSMBtn,    0, 3, SPAB); place(loopSHBtn,    1, 3, SPAB)
place(loopHintBtn,  0, 4, SPAB); place(syschatBtn,   1, 4, SPAB)
place(syschatSpBtn, 0, 5, SPAB); place(hijackMeBtn,  1, 5, SPAB)
place(hijackOthBtn, 0, 6, SPAB)

local SPA_END = SPAB + 7 * (BTNH + GAPY)

-- MUSIC
makeSection(scroll, "music", SPA_END + 8)
local MUB = SPA_END + 32

local mus1Btn    = makeBtn(scroll, "spooky scary skeletons")
local mus2Btn    = makeBtn(scroll, "wont stop us c")
local mus3Btn    = makeBtn(scroll, "toxic")
local mus4Btn    = makeBtn(scroll, "jumpstyle")
local mus5Btn    = makeBtn(scroll, "isagi scream")
local mus6Btn    = makeBtn(scroll, "bodypartz")
local mus7Btn    = makeBtn(scroll, "this is sparta remix")
local mus8Btn    = makeBtn(scroll, "mumz car")
local mus9Btn    = makeBtn(scroll, "i did it first")
local mus10Btn   = makeBtn(scroll, "my theme")
local mus11Btn   = makeBtn(scroll, "number")
local mus12Btn   = makeBtn(scroll, "gothic")
local mus13Btn   = makeBtn(scroll, "freakbob")
local mus14Btn   = makeBtn(scroll, "extra")
local volUpBtn   = makeBtn(scroll, "volume up")
local volDnBtn   = makeBtn(scroll, "volume down")
local pitchUpBtn = makeBtn(scroll, "pitch up")
local pitchDnBtn = makeBtn(scroll, "pitch down")
local muteBtn    = makeBtn(scroll, "mute music")
local discoBtn   = makeBtn(scroll, "disco")
local distBtn    = makeBtn(scroll, "distort")
local revBtn     = makeBtn(scroll, "reverb")
local stopMusBtn = makeBtn(scroll, "stop music")

place(mus1Btn,   0, 0,  MUB); place(mus2Btn,   1, 0,  MUB)
place(mus3Btn,   0, 1,  MUB); place(mus4Btn,   1, 1,  MUB)
place(mus5Btn,   0, 2,  MUB); place(mus6Btn,   1, 2,  MUB)
place(mus7Btn,   0, 3,  MUB); place(mus8Btn,   1, 3,  MUB)
place(mus9Btn,   0, 4,  MUB); place(mus10Btn,  1, 4,  MUB)
place(mus11Btn,  0, 5,  MUB); place(mus12Btn,  1, 5,  MUB)
place(mus13Btn,  0, 6,  MUB); place(mus14Btn,  1, 6,  MUB)
place(volUpBtn,  0, 7,  MUB); place(volDnBtn,  1, 7,  MUB)
place(pitchUpBtn,0, 8,  MUB); place(pitchDnBtn,1, 8,  MUB)
place(muteBtn,   0, 9,  MUB); place(discoBtn,  1, 9,  MUB)
place(distBtn,   0, 10, MUB); place(revBtn,    1, 10, MUB)
place(stopMusBtn,0, 11, MUB)

local MU_END = MUB + 12 * (BTNH + GAPY)

-- VISUALS
makeSection(scroll, "visuals", MU_END + 8)
local VB = MU_END + 32

local decalPenBtn  = makeBtn(scroll, "decal penguin")
local decalD3_1Btn = makeBtn(scroll, "decal d3crypted9 1")
local decalD3_2Btn = makeBtn(scroll, "decal d3crypted9 2")
local decalFlxBtn  = makeBtn(scroll, "decal flx+d3")
local skyPenBtn    = makeBtn(scroll, "skybox penguin")
local skyD3_1Btn   = makeBtn(scroll, "skybox d3 1")
local skyD3_2Btn   = makeBtn(scroll, "skybox d3 2")
local skyFlxBtn    = makeBtn(scroll, "skybox flx+d3")
local skyTripBtn   = makeBtn(scroll, "trippy skybox")
local sparklesBtn  = makeBtn(scroll, "sparkles all")
local fireBtn      = makeBtn(scroll, "fire all")
local part1Btn     = makeBtn(scroll, "particles d3 1")
local part2Btn     = makeBtn(scroll, "particles d3 2")
local partF1Btn    = makeBtn(scroll, "particles flx 1")
local partF2Btn    = makeBtn(scroll, "particles flx 2")
local floatBtn     = makeBtn(scroll, "floating platform")
local weirdBtn     = makeBtn(scroll, "weird dance [f3x]")
local ultCrashBtn  = makeBtn(scroll, "ultimate crash [f3x]")

place(decalPenBtn, 0, 0, VB); place(decalD3_1Btn,1, 0, VB)
place(decalD3_2Btn,0, 1, VB); place(decalFlxBtn, 1, 1, VB)
place(skyPenBtn,   0, 2, VB); place(skyD3_1Btn,  1, 2, VB)
place(skyD3_2Btn,  0, 3, VB); place(skyFlxBtn,   1, 3, VB)
place(skyTripBtn,  0, 4, VB); place(sparklesBtn, 1, 4, VB)
place(fireBtn,     0, 5, VB); place(part1Btn,    1, 5, VB)
place(part2Btn,    0, 6, VB); place(partF1Btn,   1, 6, VB)
place(partF2Btn,   0, 7, VB); place(floatBtn,    1, 7, VB)
place(weirdBtn,    0, 8, VB); place(ultCrashBtn, 1, 8, VB)

local V_END = VB + 9 * (BTNH + GAPY)

-- BUILD TOOLS
makeSection(scroll, "build tools", V_END + 8)
local BB = V_END + 32

local baseplateBtn = makeBtn(scroll, "spawn baseplate")
local destroyBPBtn = makeBtn(scroll, "destroy baseplate")
local realmBtn     = makeBtn(scroll, "realm")
local risingBtn    = makeBtn(scroll, "rising parts")
local ballRainBtn  = makeBtn(scroll, "ball rain")
local carBtn       = makeBtn(scroll, "car [f3x]")
local coffeeBtn    = makeBtn(scroll, "coffee shop [f3x]")
local ndsBtn       = makeBtn(scroll, "insert natural disaster")
local unanchorBtn  = makeBtn(scroll, "unanchor all")
local destAllBtn   = makeBtn(scroll, "complete destroy")

place(baseplateBtn,0, 0, BB); place(destroyBPBtn,1, 0, BB)
place(realmBtn,    0, 1, BB); place(risingBtn,   1, 1, BB)
place(ballRainBtn, 0, 2, BB); place(carBtn,      1, 2, BB)
place(coffeeBtn,   0, 3, BB); place(ndsBtn,      1, 3, BB)
place(unanchorBtn, 0, 4, BB); place(destAllBtn,  1, 4, BB)

local B_END = BB + 5 * (BTNH + GAPY)

scroll.CanvasSize = UDim2.new(0, 0, 0, B_END + 20)

-- =====================================================
-- CONNECTIONS
-- =====================================================

-- team
smPenBtn.MouseButton1Click:Connect(function() cmd(";sm JOIN TEAM PENGUIN TODAY") end)
smD3Btn.MouseButton1Click:Connect(function() cmd(";sm JOIN TEAM D3CRYPTED9") end)
hintPenBtn.MouseButton1Click:Connect(function() cmd(";hint JOIN TEAM PENGUIN TODAY") end)
hintD3Btn.MouseButton1Click:Connect(function() cmd(";hint JOIN TEAM D3CRYPTED9") end)
shintPenBtn.MouseButton1Click:Connect(function() cmd(";serverhint JOIN TEAM PENGUIN TODAY") end)
shintD3Btn.MouseButton1Click:Connect(function() cmd(";serverhint JOIN TEAM D3CRYPTED9") end)
notPenBtn.MouseButton1Click:Connect(function() cmd(";notice all JOIN TEAM PENGUIN TODAY") end)
notD3Btn.MouseButton1Click:Connect(function() cmd(";notice all JOIN TEAM D3CRYPTED9") end)

-- titles
titlerAllBtn.MouseButton1Click:Connect(function() cmd(";titler all HAXXED BY D3CRYPTED9") end)
titlebAllBtn.MouseButton1Click:Connect(function() cmd(";titleb all j0in t3am p3ng0in t0day!") end)
titlebMeBtn.MouseButton1Click:Connect(function() cmd(";titleb me THE PENGUIN") end)
titlerMeBtn.MouseButton1Click:Connect(function() cmd(";titler me D3CRYPTED9") end)
titlebFlxBtn.MouseButton1Click:Connect(function() cmd(";titleb me Fluxokidd Member") end)
titlerFlxBtn.MouseButton1Click:Connect(function() cmd(";titler all HAXXED BY FLUXO") end)
titlerVictBtn.MouseButton1Click:Connect(function() cmd(";titler all d3crypted9 victim") end)
titlerHaxBtn.MouseButton1Click:Connect(function() cmd(";titler all d3crypted9 hax u") end)

-- players
bringAllBtn.MouseButton1Click:Connect(function() cmd(";bring all") end)
killAllBtn.MouseButton1Click:Connect(function() cmd(";kill all") end)
jailAllBtn.MouseButton1Click:Connect(function() cmd(";jail all") end)
jailOthBtn.MouseButton1Click:Connect(function() cmd(";jail others") end)
killOthBtn.MouseButton1Click:Connect(function() cmd(";kill others") end)
freezeOthBtn.MouseButton1Click:Connect(function() cmd(";freeze others") end)
crashOthBtn.MouseButton1Click:Connect(function() cmd(";crash others") end)
flyAllBtn.MouseButton1Click:Connect(function() cmd(";fly all") end)
flyOthBtn.MouseButton1Click:Connect(function() cmd(";fly others") end)
unflyOthBtn.MouseButton1Click:Connect(function() cmd(";unfly others") end)
explodeAllBtn.MouseButton1Click:Connect(function() cmd(";explode all") end)
r6AllBtn.MouseButton1Click:Connect(function() cmd(";r6 all") end)
r15AllBtn.MouseButton1Click:Connect(function() cmd(";r15 all") end)
charAuraBtn.MouseButton1Click:Connect(function() cmd(";char all aurahaxker") end)
charFlxBtn.MouseButton1Click:Connect(function() cmd(";char all Fluxokidd") end)
tpMeBtn.MouseButton1Click:Connect(function() cmd(";tp others "..plr.Name) end)
shutdownBtn.MouseButton1Click:Connect(function() cmd(";shutdown") end)
forcePBtn.MouseButton1Click:Connect(function() cmd(";forceplace all 70858794012946") end)

local loopKilling = false
loopKillBtn.MouseButton1Click:Connect(function()
    loopKilling = not loopKilling
    setToggle(loopKillBtn, loopKilling, "loop kill all", "loop kill all")
    if loopKilling then
        spawn(function()
            while loopKilling do cmd(";kill all") wait(1) end
        end)
    end
end)

local loopExploding = false
loopExpBtn.MouseButton1Click:Connect(function()
    loopExploding = not loopExploding
    setToggle(loopExpBtn, loopExploding, "loop explode all", "loop explode all")
    if loopExploding then
        spawn(function()
            while loopExploding do cmd(";explode all") wait(0.5) end
        end)
    end
end)

local loopJumping = false
loopJumpBtn.MouseButton1Click:Connect(function()
    loopJumping = not loopJumping
    setToggle(loopJumpBtn, loopJumping, "loop jump all", "loop jump all")
    if loopJumping then
        spawn(function()
            while loopJumping do cmd(";jump all") wait(0.5) end
        end)
    end
end)

local pinging = false
pingBtn.MouseButton1Click:Connect(function()
    pinging = not pinging
    setToggle(pingBtn, pinging, "ping all", "ping all")
    if pinging then
        spawn(function()
            while pinging do cmd(";ping all") wait(0.5) end
        end)
    end
end)

-- self
flyMeBtn.MouseButton1Click:Connect(function() cmd(";fly me") end)

local noclipOn = false
local noclipConn = nil
noclipBtn.MouseButton1Click:Connect(function()
    noclipOn = not noclipOn
    setToggle(noclipBtn, noclipOn, "noclip", "noclip")
    if noclipOn then
        noclipConn = RUN.Stepped:Connect(function()
            local c = plr.Character
            if c then
                for _, v in pairs(c:GetDescendants()) do
                    if v:IsA("BasePart") then v.CanCollide = false end
                end
            end
        end)
    else
        if noclipConn then noclipConn:Disconnect() noclipConn = nil end
        local c = plr.Character
        if c then
            for _, v in pairs(c:GetDescendants()) do
                if v:IsA("BasePart") then v.CanCollide = true end
            end
        end
    end
end)

btoolsMeBtn.MouseButton1Click:Connect(function() cmd(";btools me") end)
cloneMeBtn.MouseButton1Click:Connect(function() cmd(";clone me") end)
godMeBtn.MouseButton1Click:Connect(function() cmd(";god me") end)
respawnMeBtn.MouseButton1Click:Connect(function() cmd(";respawn me") end)
r6MeBtn.MouseButton1Click:Connect(function() cmd(";r6 me") end)
r15MeBtn.MouseButton1Click:Connect(function() cmd(";r15 me") end)
unkillMeBtn.MouseButton1Click:Connect(function() cmd(";unkill me") end)
unloopKillBtn.MouseButton1Click:Connect(function()
    loopKilling = false
    setToggle(loopKillBtn, false, "loop kill all", "loop kill all")
    cmd(";unkill me")
end)

-- spam
smHaxxBtn.MouseButton1Click:Connect(function() cmd(";sm HAXXED BY D3CRYPTED9") end)
shintHaxxBtn.MouseButton1Click:Connect(function() cmd(";serverhint HAXXED BY D3CRYPTED9") end)

local spamMsg = false
spamMsgBtn.MouseButton1Click:Connect(function()
    spamMsg = not spamMsg
    setToggle(spamMsgBtn, spamMsg, "spam empty msg", "spam empty msg")
    if spamMsg then
        spawn(function()
            while spamMsg do cmd(";servermessage .") wait(0.1) end
        end)
    end
end)

local spamChar = false
spamCharBtn.MouseButton1Click:Connect(function()
    spamChar = not spamChar
    setToggle(spamCharBtn, spamChar, "spam char aura", "spam char aura")
    if spamChar then
        spawn(function()
            while spamChar do cmd(";char all aurahaxker") wait(0.5) end
        end)
    end
end)

local chatSpam = false
local chatSpamMsg = ""
local function startChatSpam(msg, btn, lbl)
    if chatSpam and chatSpamMsg == msg then
        chatSpam = false
        setToggle(btn, false, lbl, lbl)
        return
    end
    chatSpam = false
    setToggle(chatD3Btn,  false, "chat spam d3crypted9", "chat spam d3crypted9")
    setToggle(chatPenBtn, false, "chat spam penguin",    "chat spam penguin")
    chatSpam = true
    chatSpamMsg = msg
    setToggle(btn, true, lbl, lbl)
    spawn(function()
        while chatSpam and chatSpamMsg == msg do
            cmd(";servermessage JOIN TEAM "..msg)
            wait(0.4)
        end
    end)
end
chatD3Btn.MouseButton1Click:Connect(function()
    startChatSpam("D3CRYPTED9", chatD3Btn, "chat spam d3crypted9")
end)
chatPenBtn.MouseButton1Click:Connect(function()
    startChatSpam("PENGUIN", chatPenBtn, "chat spam penguin")
end)

local loopSM = false
loopSMBtn.MouseButton1Click:Connect(function()
    loopSM = not loopSM
    setToggle(loopSMBtn, loopSM, "loop sm d3crypted9", "loop sm d3crypted9")
    if loopSM then
        spawn(function()
            while loopSM do cmd(";sm J0IN TEAM D3CRYPTED9 TODAY!") wait(10) end
        end)
    end
end)

local loopSH = false
loopSHBtn.MouseButton1Click:Connect(function()
    loopSH = not loopSH
    setToggle(loopSHBtn, loopSH, "loop shint d3crypted9", "loop shint d3crypted9")
    if loopSH then
        spawn(function()
            while loopSH do cmd(";serverhint THIS GAME GOT HAXXED BY D3CRYPTED9") wait(5) end
        end)
    end
end)

local loopHint = false
loopHintBtn.MouseButton1Click:Connect(function()
    loopHint = not loopHint
    setToggle(loopHintBtn, loopHint, "loop hint d3crypted9", "loop hint d3crypted9")
    if loopHint then
        spawn(function()
            while loopHint do cmd(";hint d3crypted9 HAXXED THIS GAME WOMP WOMP") wait(5) end
        end)
    end
end)

syschatBtn.MouseButton1Click:Connect(function() cmd(";systemchat d3crypted9 haxxored this game.") end)

local syschatSpam = false
syschatSpBtn.MouseButton1Click:Connect(function()
    syschatSpam = not syschatSpam
    setToggle(syschatSpBtn, syschatSpam, "systemchat spam", "systemchat spam")
    if syschatSpam then
        spawn(function()
            while syschatSpam do cmd(";systemchat d3crypted9 haxxored this game.") wait(0.2) end
        end)
    end
end)

hijackMeBtn.MouseButton1Click:Connect(function() cmd(";chatHijacker "..plr.Name) end)
hijackOthBtn.MouseButton1Click:Connect(function() cmd(";chatHijacker others") end)

-- music
mus1Btn.MouseButton1Click:Connect(function() cmd(";music 515669032 ;pitch 1 ;volume inf") end)
mus2Btn.MouseButton1Click:Connect(function() cmd(";music 1847661821 ;pitch 1 ;volume inf") end)
mus3Btn.MouseButton1Click:Connect(function() cmd(";music 86412047196482 ;pitch 1 ;volume inf") end)
mus4Btn.MouseButton1Click:Connect(function() cmd(";music 135881205397136 ;pitch 1 ;volume inf") end)
mus5Btn.MouseButton1Click:Connect(function() cmd(";music 114953911469714 ;pitch 1 ;volume inf") end)
mus6Btn.MouseButton1Click:Connect(function() cmd(";music 127653283576622 ;pitch 1 ;volume inf") end)
mus7Btn.MouseButton1Click:Connect(function() cmd(";music 140240856766854 ;pitch 0.2 ;volume inf") end)
mus8Btn.MouseButton1Click:Connect(function() cmd(";music 5410255602 ;pitch 1 ;volume inf") end)
mus9Btn.MouseButton1Click:Connect(function() cmd(";music 134621097423886 ;pitch 1 ;volume inf") end)
mus10Btn.MouseButton1Click:Connect(function()
    spawn(function()
        cmd(";music 119912387705870 ;pitch 1 ;volume inf")
        wait(0.5)
        cmd(";mr this is my 1st theme")
    end)
end)
mus11Btn.MouseButton1Click:Connect(function() cmd(";music 82696338249251 ;pitch 1 ;volume inf") end)
mus12Btn.MouseButton1Click:Connect(function() cmd(";music 139488665764275 ;pitch 0.8 ;volume inf") end)
mus13Btn.MouseButton1Click:Connect(function() cmd(";music 133170570098799 ;pitch 1 ;volume inf") end)
mus14Btn.MouseButton1Click:Connect(function() cmd(";music 80068856419698 ;pitch 0.15 ;volume inf") end)

local pitch = 1
volUpBtn.MouseButton1Click:Connect(function() cmd(";volume inf") end)
volDnBtn.MouseButton1Click:Connect(function() cmd(";volume 0.5") end)
pitchUpBtn.MouseButton1Click:Connect(function()
    pitch = math.floor((pitch + 0.1) * 10 + 0.5) / 10
    cmd(";pitch "..tostring(pitch))
end)
pitchDnBtn.MouseButton1Click:Connect(function()
    pitch = math.max(0.1, math.floor((pitch - 0.1) * 10 + 0.5) / 10)
    cmd(";pitch "..tostring(pitch))
end)
muteBtn.MouseButton1Click:Connect(function() cmd(";volume 0") end)
discoBtn.MouseButton1Click:Connect(function() cmd(";disco") end)
distBtn.MouseButton1Click:Connect(function() cmd(";pitch 3 ;volume inf") end)
revBtn.MouseButton1Click:Connect(function() cmd(";pitch 0.5 ;volume inf") end)
stopMusBtn.MouseButton1Click:Connect(function() cmd(";music 0") end)

-- visuals
decalPenBtn.MouseButton1Click:Connect(function() spawn(function() spamDecal(DECAL_PENGUIN) end) end)
decalD3_1Btn.MouseButton1Click:Connect(function() spawn(function() spamDecal(DECAL_D3_1) end) end)
decalD3_2Btn.MouseButton1Click:Connect(function() spawn(function() spamDecal(DECAL_D3_2) end) end)
decalFlxBtn.MouseButton1Click:Connect(function() spawn(function() spamDecal(DECAL_FLX) end) end)
skyPenBtn.MouseButton1Click:Connect(function() spawn(function() makeSkybox(DECAL_PENGUIN, "PenSkybox") end) end)
skyD3_1Btn.MouseButton1Click:Connect(function() spawn(function() makeSkybox(DECAL_D3_1, "D3Skybox1") end) end)
skyD3_2Btn.MouseButton1Click:Connect(function() spawn(function() makeSkybox(DECAL_D3_2, "D3Skybox2") end) end)
skyFlxBtn.MouseButton1Click:Connect(function() spawn(function() makeSkybox(DECAL_FLX, "FLXSkybox") end) end)

local tripOn = false
local tripPart = nil
local tripConn = nil
skyTripBtn.MouseButton1Click:Connect(function()
    tripOn = not tripOn
    setToggle(skyTripBtn, tripOn, "trippy skybox", "trippy skybox")
    if tripOn then
        spawn(function()
            local ep = getF3X()
            if not ep then tripOn = false setToggle(skyTripBtn, false, "trippy skybox", "trippy skybox") return end
            local c = plr.Character
            if not c then tripOn = false return end
            local hrp = c:FindFirstChild("HumanoidRootPart")
            if not hrp then tripOn = false return end
            local pos = hrp.CFrame.Position
            snap()
            f3x(ep, {"CreatePart", "Normal", hrp.CFrame, workspace})
            wait(0.5)
            local v = newPart(3)
            if not v then tripOn = false return end
            f3x(ep, {"CreateMeshes", {{Part=v}}})
            f3x(ep, {"SyncMesh", {{Part=v, MeshId="rbxassetid://111891702759441"}}})
            f3x(ep, {"SyncMesh", {{Part=v, TextureId="rbxassetid://"..DECAL_D3_2}}})
            f3x(ep, {"SyncMesh", {{Part=v, Scale=Vector3.new(99999,99999,99999)}}})
            f3x(ep, {"SyncAnchor", {{Part=v, Anchored=true}}})
            f3x(ep, {"SetLocked", {v}, true})
            f3x(ep, {"SyncCollision", {{Part=v, CanCollide=false}}})
            tripPart = v
            local ang = 0
            tripConn = RUN.Heartbeat:Connect(function(dt)
                if not tripOn then return end
                ang = (ang + dt * 80) % 360
                local r = math.rad(ang)
                pcall(function()
                    f3x(ep, {"SyncMove", {{Part=tripPart, CFrame=CFrame.new(pos)*CFrame.Angles(r*0.4, r, r*0.6)}}})
                end)
            end)
        end)
    else
        if tripConn then tripConn:Disconnect() tripConn = nil end
        if tripPart then
            local ep = getF3X()
            if ep then
                pcall(function()
                    f3x(ep, {"SetLocked", {tripPart}, false})
                    f3x(ep, {"Remove", {tripPart}})
                end)
            end
            tripPart = nil
        end
    end
end)

sparklesBtn.MouseButton1Click:Connect(function() cmd(";sparkles all") end)
fireBtn.MouseButton1Click:Connect(function() cmd(";fire all") end)
part1Btn.MouseButton1Click:Connect(function() spawn(function() applyParticles(PART_1) end) end)
part2Btn.MouseButton1Click:Connect(function() spawn(function() applyParticles(PART_2) end) end)
partF1Btn.MouseButton1Click:Connect(function() spawn(function() applyParticles(PART_FLX1) end) end)
partF2Btn.MouseButton1Click:Connect(function() spawn(function() applyParticles(PART_FLX2) end) end)

-- floating platform
local floatOn = false
local floatPart = nil
floatBtn.MouseButton1Click:Connect(function()
    floatOn = not floatOn
    setToggle(floatBtn, floatOn, "floating platform", "floating platform")
    if floatOn then
        spawn(function()
            local ep = getF3X()
            if not ep then floatOn = false setToggle(floatBtn, false, "floating platform", "floating platform") return end
            local c = plr.Character or plr.CharacterAdded:Wait()
            local hrp = c:WaitForChild("HumanoidRootPart", 5)
            if not hrp then floatOn = false return end
            local spawnCF = CFrame.new(hrp.Position + Vector3.new(0,-3.5,0)) * CFrame.Angles(0, 0, math.rad(90))
            snap()
            f3x(ep, {"CreatePart", "Cylinder", spawnCF, workspace})
            wait(0.5)
            floatPart = newPart(4)
            if not floatPart then floatOn = false return end
            f3x(ep, {"SyncResize", {{Part=floatPart, CFrame=spawnCF, Size=Vector3.new(1.2,32,32)}}})
            f3x(ep, {"SyncColor", {{Part=floatPart, Color=Color3.fromRGB(200,0,0), UnionColoring=false}}})
            f3x(ep, {"SyncAnchor", {{Part=floatPart, Anchored=true}}})
            f3x(ep, {"SyncCollision", {{Part=floatPart, CanCollide=true}}})
            f3x(ep, {"SetLocked", {floatPart}, true})
            spawn(function()
                while floatOn do
                    local c2 = plr.Character
                    local h = c2 and c2:FindFirstChild("HumanoidRootPart")
                    if h and floatPart then
                        local cf = CFrame.new(h.Position.X, h.Position.Y-3.5, h.Position.Z) * CFrame.Angles(0,0,math.rad(90))
                        pcall(function() f3x(ep, {"SyncMove", {{Part=floatPart, CFrame=cf}}}) end)
                    end
                    wait(0.12)
                end
            end)
        end)
    else
        if floatPart then
            local ep = getF3X()
            if ep then
                pcall(function()
                    f3x(ep, {"SetLocked", {floatPart}, false})
                    f3x(ep, {"Remove", {floatPart}})
                end)
            end
            floatPart = nil
        end
    end
end)

-- =====================================================
-- WEIRD DANCE [F3X]
-- stiff t-pose arms, head swings neck left/right to each arm (c00lkidd style),
-- EVERY body part remeshes every tick with a random mesh
-- =====================================================
local RANDOM_MESHES = {
    "rbxassetid://1369568",
    "rbxassetid://68108432",
    "rbxassetid://1778999",
    "rbxassetid://12212520",
    "rbxassetid://1038049",
    "rbxassetid://62246019",
    "rbxassetid://48112070",
    "rbxassetid://31153051",
    "rbxassetid://10620985",
    "rbxassetid://52230372",
    "rbxassetid://3270017",
}

local weirdOn = false
local weirdConn = nil
local savedWeirdC0 = {}

weirdBtn.MouseButton1Click:Connect(function()
    weirdOn = not weirdOn
    setToggle(weirdBtn, weirdOn, "weird dance [f3x]", "weird dance [f3x]")

    if weirdOn then
        spawn(function()
            local ep = getF3X()
            if not ep then weirdOn = false setToggle(weirdBtn, false, "weird dance [f3x]", "weird dance [f3x]") return end

            local c = plr.Character
            if not c then weirdOn = false return end

            -- r6 joints
            local torso = c:FindFirstChild("Torso")
            if not torso then weirdOn = false return end

            local neck = torso:FindFirstChild("Neck")
            local lsh  = torso:FindFirstChild("Left Shoulder")
            local rsh  = torso:FindFirstChild("Right Shoulder")
            local lhip = torso:FindFirstChild("Left Hip")
            local rhip = torso:FindFirstChild("Right Hip")

            if not (neck and lsh and rsh) then weirdOn = false return end

            savedWeirdC0.neck = neck.C0
            savedWeirdC0.lsh  = lsh.C0
            savedWeirdC0.rsh  = rsh.C0
            if lhip then savedWeirdC0.lhip = lhip.C0 end
            if rhip then savedWeirdC0.rhip = rhip.C0 end

            -- collect every body part that has a mesh for full remesh
            local bodyParts = {}
            for _, part in pairs(c:GetDescendants()) do
                if part:IsA("BasePart") then
                    local mesh = part:FindFirstChildWhichIsA("SpecialMesh")
                        or part:FindFirstChildWhichIsA("FileMesh")
                    if mesh then
                        table.insert(bodyParts, {Part=part, MeshId=mesh.MeshId, OrigScale=mesh.Scale})
                    end
                end
            end

            local t = 0
            local meshTick = 0
            local meshInterval = 0.08 -- remesh whole body 12x per second

            weirdConn = RUN.Heartbeat:Connect(function(dt)
                if not weirdOn then return end
                t = t + dt * 1.8
                meshTick = meshTick + dt

                -- === STIFF T-POSE ARMS (no wobble) ===
                local c2 = plr.Character
                if c2 then
                    local tor2 = c2:FindFirstChild("Torso")
                    if tor2 then
                        local nk = tor2:FindFirstChild("Neck")
                        local ls = tor2:FindFirstChild("Left Shoulder")
                        local rs = tor2:FindFirstChild("Right Shoulder")

                        -- perfectly horizontal arms - stiff tpose
                        if ls and savedWeirdC0.lsh then
                            ls.C0 = savedWeirdC0.lsh * CFrame.Angles(0, 0, math.rad(90))
                        end
                        if rs and savedWeirdC0.rsh then
                            rs.C0 = savedWeirdC0.rsh * CFrame.Angles(0, 0, math.rad(-90))
                        end

                        -- head swings left and right on the neck
                        -- goes fully toward left arm then fully toward right arm, smoothly
                        -- math.sin: -1 = looking left, +1 = looking right
                        if nk and savedWeirdC0.neck then
                            local swing = math.sin(t * 1.4)
                            -- Y rotation = side to side, no tilt, no forward lean
                            nk.C0 = savedWeirdC0.neck * CFrame.Angles(0, swing * 1.45, 0)
                        end
                    end
                end

                -- === FULL BODY REMESH every meshInterval ===
                if meshTick >= meshInterval and #bodyParts > 0 then
                    meshTick = 0
                    local randMesh = RANDOM_MESHES[math.random(1, #RANDOM_MESHES)]
                    -- build sync table for ALL body parts at once
                    local meshData = {}
                    for _, bp in pairs(bodyParts) do
                        table.insert(meshData, {
                            Part   = bp.Part,
                            MeshId = randMesh,
                            Scale  = Vector3.new(
                                0.9 + math.random() * 0.4,
                                0.9 + math.random() * 0.4,
                                0.9 + math.random() * 0.4
                            )
                        })
                    end
                    pcall(function() ep:InvokeServer("SyncMesh", meshData) end)
                end
            end)
        end)
    else
        if weirdConn then weirdConn:Disconnect() weirdConn = nil end

        -- restore joints
        local c = plr.Character
        if c then
            local torso = c:FindFirstChild("Torso")
            if torso then
                local nk = torso:FindFirstChild("Neck")
                local ls = torso:FindFirstChild("Left Shoulder")
                local rs = torso:FindFirstChild("Right Shoulder")
                local lh = torso:FindFirstChild("Left Hip")
                local rh = torso:FindFirstChild("Right Hip")
                if nk and savedWeirdC0.neck then nk.C0 = savedWeirdC0.neck end
                if ls and savedWeirdC0.lsh  then ls.C0 = savedWeirdC0.lsh  end
                if rs and savedWeirdC0.rsh  then rs.C0 = savedWeirdC0.rsh  end
                if lh and savedWeirdC0.lhip then lh.C0 = savedWeirdC0.lhip end
                if rh and savedWeirdC0.rhip then rh.C0 = savedWeirdC0.rhip end
            end
        end
        savedWeirdC0 = {}
    end
end)

-- =====================================================
-- ULTIMATE CRASH
-- =====================================================
local crashOn = false
local crashConn = nil
ultCrashBtn.MouseButton1Click:Connect(function()
    crashOn = not crashOn
    setToggle(ultCrashBtn, crashOn, "ultimate crash [f3x]", "ultimate crash [f3x]")
    if crashOn then
        spawn(function()
            local ep = getF3X()
            if not ep then crashOn = false setToggle(ultCrashBtn, false, "ultimate crash [f3x]", "ultimate crash [f3x]") return end
            local c = plr.Character
            local hrp = c and c:FindFirstChild("HumanoidRootPart")
            if not hrp then crashOn = false return end
            local ox = hrp.Position.X
            local oy = hrp.Position.Y + 20
            local oz = hrp.Position.Z
            snap()
            f3x(ep, {"CreatePart", "Normal", CFrame.new(ox, oy, oz), workspace})
            wait(0.4)
            local seed = newPart(3)
            if not seed then crashOn = false return end
            f3x(ep, {"SyncResize", {{Part=seed, CFrame=CFrame.new(ox,oy,oz), Size=Vector3.new(4,4,4)}}})
            f3x(ep, {"SyncColor", {{Part=seed, Color=Color3.fromRGB(255,0,0), UnionColoring=false}}})
            f3x(ep, {"SyncAnchor", {{Part=seed, Anchored=false}}})
            crashConn = RUN.Heartbeat:Connect(function()
                if not crashOn then return end
                local all = {}
                for _, v in pairs(workspace:GetDescendants()) do
                    if v:IsA("BasePart") and v ~= workspace.Terrain then
                        table.insert(all, v)
                    end
                end
                if #all == 0 then return end
                local pick = all[math.random(1, #all)]
                local cf = pick.CFrame * CFrame.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
                spawn(function()
                    snap()
                    f3x(ep, {"CreatePart", "Normal", cf, workspace})
                    wait(0.3)
                    local clone = newPart(1)
                    if clone then
                        f3x(ep, {"SyncResize", {{Part=clone, CFrame=cf, Size=pick.Size}}})
                        f3x(ep, {"SyncColor", {{Part=clone, Color=pick.Color, UnionColoring=false}}})
                        f3x(ep, {"SyncAnchor", {{Part=clone, Anchored=false}}})
                    end
                end)
            end)
        end)
    else
        if crashConn then crashConn:Disconnect() crashConn = nil end
    end
end)

-- =====================================================
-- BUILD TOOLS
-- =====================================================
baseplateBtn.MouseButton1Click:Connect(function()
    spawn(function()
        local ep = getF3X()
        if not ep then return end
        local c = plr.Character
        local hrp = c and c:FindFirstChild("HumanoidRootPart")
        if not hrp then return end
        local cx = hrp.CFrame.X
        local cy = hrp.CFrame.Y
        local cz = hrp.CFrame.Z
        snap()
        f3x(ep, {"CreatePart","Normal",CFrame.new(cx,cy-5,cz),workspace})
        wait(0.5)
        local bp = newPart(3)
        if bp then
            f3x(ep, {"SyncResize", {{Part=bp, CFrame=CFrame.new(cx,cy-5,cz), Size=Vector3.new(512,2,512)}}})
            f3x(ep, {"SetName", {bp}, "Baseplate"})
            f3x(ep, {"SyncColor", {{Part=bp, Color=Color3.fromRGB(106,127,63), UnionColoring=false}}})
            f3x(ep, {"SyncAnchor", {{Part=bp, Anchored=true}}})
            f3x(ep, {"SetLocked", {bp}, true})
        end
    end)
end)

destroyBPBtn.MouseButton1Click:Connect(function()
    spawn(function()
        local ep = getF3X()
        if not ep then return end
        for _, v in pairs(workspace:GetDescendants()) do
            if v:IsA("BasePart") and (v.Name == "Baseplate" or v.Name == "Base") then
                pcall(function()
                    f3x(ep, {"SetLocked", {v}, false})
                    f3x(ep, {"Remove", {v}})
                end)
            end
        end
    end)
end)

realmBtn.MouseButton1Click:Connect(function()
    spawn(function()
        local ep = getF3X()
        if not ep then return end
        local c = plr.Character
        local hrp = c and c:FindFirstChild("HumanoidRootPart")
        if not hrp then return end
        cmd(";btools me")
        wait(0.4)
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= plr then cmd(";punish "..p.Name) end
        end
        wait(0.3)
        local del = {}
        for _, v in pairs(workspace:GetDescendants()) do
            if v:IsA("BasePart") or v:IsA("UnionOperation") then
                local skip = false
                local a = v
                while a do
                    if a == c then skip = true break end
                    a = a.Parent
                end
                if not skip then table.insert(del, v) end
            end
        end
        for _, v in pairs(del) do
            spawn(function()
                pcall(function()
                    f3x(ep, {"SetLocked", {v}, false})
                    f3x(ep, {"Remove", {v}})
                end)
            end)
        end
        wait(0.8)
        local cx = hrp.CFrame.X
        local cy = hrp.CFrame.Y
        local cz = hrp.CFrame.Z
        local wh = cy + 35
        snap()
        f3x(ep, {"CreatePart","Normal",CFrame.new(cx,cy-4,cz),workspace})
        wait(0.6)
        local floor = newPart(4)
        if floor then
            f3x(ep, {"SyncResize", {{Part=floor, CFrame=CFrame.new(cx,cy-4,cz), Size=Vector3.new(220,2,220)}}})
            f3x(ep, {"SyncColor", {{Part=floor, Color=Color3.fromRGB(4,4,4), UnionColoring=false}}})
            f3x(ep, {"SyncMaterial", {{Part=floor, Material=Enum.Material.SmoothPlastic}}})
            f3x(ep, {"SyncAnchor", {{Part=floor, Anchored=true}}})
            f3x(ep, {"SetLocked", {floor}, true})
        end
        local walls = {
            {cf=CFrame.new(cx,wh,cz-108), sz=Vector3.new(220,80,4),   dec=DECAL_D3_1},
            {cf=CFrame.new(cx,wh,cz+108), sz=Vector3.new(220,80,4),   dec=DECAL_D3_1},
            {cf=CFrame.new(cx-108,wh,cz), sz=Vector3.new(4,80,220),   dec=DECAL_D3_2},
            {cf=CFrame.new(cx+108,wh,cz), sz=Vector3.new(4,80,220),   dec=DECAL_D3_2},
        }
        for _, w in pairs(walls) do
            spawn(function()
                snap()
                f3x(ep, {"CreatePart","Normal",w.cf,workspace})
                wait(0.6)
                local part = newPart(4)
                if part then
                    f3x(ep, {"SyncResize", {{Part=part, CFrame=w.cf, Size=w.sz}}})
                    f3x(ep, {"SyncColor", {{Part=part, Color=Color3.fromRGB(7,7,7), UnionColoring=false}}})
                    f3x(ep, {"SyncMaterial", {{Part=part, Material=Enum.Material.SmoothPlastic}}})
                    for _, face in pairs(Enum.NormalId:GetEnumItems()) do
                        f3x(ep, {"CreateTextures", {{Part=part, Face=face, TextureType="Decal"}}})
                        f3x(ep, {"SyncTexture", {{Part=part, Face=face, TextureType="Decal", Texture="rbxassetid://"..w.dec}}})
                    end
                    f3x(ep, {"SyncAnchor", {{Part=part, Anchored=true}}})
                    f3x(ep, {"SetLocked", {part}, true})
                end
            end)
            wait(0.1)
        end
        wait(5)
        cmd(";unpunish all")
        wait(0.3)
        cmd(";sm get reckt by d3crypted9")
        wait(0.3)
        cmd(";bring all")
    end)
end)

local risingOn = false
local risingParts = {}
risingBtn.MouseButton1Click:Connect(function()
    risingOn = not risingOn
    setToggle(risingBtn, risingOn, "rising parts", "rising parts")
    if risingOn then
        spawn(function()
            local ep = getF3X()
            if not ep then risingOn = false setToggle(risingBtn, false, "rising parts", "rising parts") return end
            local c = plr.Character
            local hrp = c and c:FindFirstChild("HumanoidRootPart")
            if not hrp then risingOn = false return end
            for i = 1, 15 do
                if not risingOn then break end
                local ox = hrp.CFrame.X + math.random(-100,100)
                local oz = hrp.CFrame.Z + math.random(-100,100)
                local oy = hrp.CFrame.Y - 10
                snap()
                f3x(ep, {"CreatePart","Normal",CFrame.new(ox,oy,oz),workspace})
                wait(0.5)
                local p = newPart(3)
                if p then
                    local sz = math.random(5,20)
                    f3x(ep, {"SyncResize", {{Part=p, CFrame=CFrame.new(ox,oy,oz), Size=Vector3.new(sz,sz,sz)}}})
                    f3x(ep, {"SyncColor", {{Part=p, Color=Color3.fromRGB(math.random(0,50),math.random(0,50),math.random(80,180)), UnionColoring=false}}})
                    f3x(ep, {"SyncAnchor", {{Part=p, Anchored=false}}})
                    table.insert(risingParts, p)
                    spawn(function()
                        local ry = oy
                        for _ = 1, 80 do
                            if not risingOn then break end
                            ry = ry + 8
                            pcall(function() f3x(ep, {"SyncMove", {{Part=p, CFrame=CFrame.new(ox,ry,oz)}}}) end)
                            wait(0.01)
                        end
                    end)
                end
                wait(0.3)
            end
        end)
    else
        local ep = getF3X()
        if ep then
            for _, p in pairs(risingParts) do
                pcall(function()
                    f3x(ep, {"SetLocked", {p}, false})
                    f3x(ep, {"Remove", {p}})
                end)
            end
        end
        risingParts = {}
    end
end)

local ballOn = false
ballRainBtn.MouseButton1Click:Connect(function()
    ballOn = not ballOn
    setToggle(ballRainBtn, ballOn, "ball rain", "ball rain")
    if ballOn then
        spawn(function()
            local ep = getF3X()
            if not ep then ballOn = false setToggle(ballRainBtn, false, "ball rain", "ball rain") return end
            local c = plr.Character
            local hrp = c and c:FindFirstChild("HumanoidRootPart")
            if not hrp then ballOn = false return end
            while ballOn do
                for i = 1, 5 do
                    if not ballOn then break end
                    local ox = hrp.CFrame.X + math.random(-150,150)
                    local oz = hrp.CFrame.Z + math.random(-150,150)
                    local oy = hrp.CFrame.Y + 200
                    snap()
                    f3x(ep, {"CreatePart","Normal",CFrame.new(ox,oy,oz),workspace})
                    wait(0.3)
                    local p = newPart(2)
                    if p then
                        local sz = math.random(8,25)
                        f3x(ep, {"SyncResize", {{Part=p, CFrame=CFrame.new(ox,oy,oz), Size=Vector3.new(sz,sz,sz)}}})
                        f3x(ep, {"CreateMeshes", {{Part=p}}})
                        f3x(ep, {"SyncMesh", {{Part=p, MeshType="Sphere"}}})
                        f3x(ep, {"SyncColor", {{Part=p, Color=Color3.fromRGB(math.random(100,255),0,0), UnionColoring=false}}})
                        f3x(ep, {"SyncAnchor", {{Part=p, Anchored=false}}})
                    end
                end
                wait(0.2)
            end
        end)
    end
end)

carBtn.MouseButton1Click:Connect(function()
    spawn(function()
        local ep = getF3X()
        if not ep then return end
        local c = plr.Character
        local hrp = c and c:FindFirstChild("HumanoidRootPart")
        if not hrp then return end
        local cx = hrp.CFrame.X + 20
        local cy = hrp.CFrame.Y
        local cz = hrp.CFrame.Z
        snap()
        f3x(ep, {"CreatePart","Normal",CFrame.new(cx,cy+2,cz),workspace})
        wait(0.6)
        local body = newPart(4)
        if body then
            f3x(ep, {"SyncResize", {{Part=body, CFrame=CFrame.new(cx,cy+2,cz), Size=Vector3.new(8,3,4)}}})
            f3x(ep, {"SyncColor", {{Part=body, Color=Color3.fromRGB(180,0,0), UnionColoring=false}}})
            f3x(ep, {"SyncAnchor", {{Part=body, Anchored=true}}})
        end
    end)
end)

coffeeBtn.MouseButton1Click:Connect(function()
    spawn(function()
        local ep = getF3X()
        if not ep then return end
        cmd(";insert 8756406386")
        wait(3)
        spamDecal(DECAL_D3_1)
    end)
end)

ndsBtn.MouseButton1Click:Connect(function()
    spawn(function()
        pcall(function() cmd(";insert 1363947141") end)
        wait(2)
        spamDecal(DECAL_D3_1)
        wait(0.5)
        cmd(";servermessage WELCOME TO D3CRYPTED9S NDS!")
        wait(0.3)
        cmd(";serverhint d3crypted9 HAXXORED THIS GAME! LULZ")
    end)
end)

unanchorBtn.MouseButton1Click:Connect(function()
    local ep = getF3X()
    if not ep then return end
    for _, v in pairs(workspace:GetDescendants()) do
        if v:IsA("BasePart") then
            spawn(function()
                pcall(function()
                    f3x(ep, {"SetLocked", {v}, false})
                    f3x(ep, {"SyncAnchor", {{Part=v, Anchored=false}}})
                end)
            end)
        end
    end
end)

destAllBtn.MouseButton1Click:Connect(function()
    local ep = getF3X()
    if not ep then return end
    local c = plr.Character
    for _, v in pairs(workspace:GetDescendants()) do
        if v:IsA("BasePart") and v ~= workspace.Terrain then
            local inChar = false
            if c then
                local a = v
                while a do
                    if a == c then inChar = true break end
                    a = a.Parent
                end
            end
            if not inChar then
                spawn(function()
                    pcall(function()
                        f3x(ep, {"SetLocked", {v}, false})
                        f3x(ep, {"Remove", {v}})
                    end)
                end)
            end
        end
    end
    wait(1)
    spawn(function() makeSkybox(DECAL_D3_2, "D3Skybox2") end)
    wait(0.5)
    spawn(function() spamDecal(DECAL_D3_2) end)
    spawn(function()
        for i = 1, 20 do
            cmd(";explode all")
            wait(0.3)
        end
    end)
    cmd(";servermessage HAXXED BY D3CRYPTED9!!")
end)

print("loaded i think")

Features & Information

f3x my gui peak and no because of thumbnail i did not collab with baconsa
#fx#febyp*#dcrypted#nuggas

Community Comments (12)

MagnifyMagnifyMar 15, 2026

deepseek ai final

Replying to @Magnify
d3crypted9d3crypted9Mar 15, 2026

@x9dzz ??

Replying to @d3crypted9
MagnifyMagnifyMar 15, 2026

@d3crypted9 it's ai generated that's why I am quiting F3X exploiting soon

Replying to @Magnify
d3crypted9d3crypted9Mar 15, 2026

@x9dzz alr whatev u say

Replying to @Magnify
d3crypted9d3crypted9Mar 15, 2026

@x9dzz js quit idgaf

Replying to @d3crypted9
MagnifyMagnifyMar 15, 2026

@d3crypted9 "just quit" I am the one who saved the F3X exploiting community by posting op scripts but you people aren't grateful

Replying to @Magnify
d3crypted9d3crypted9Mar 15, 2026

@x9dzz what i ment by just quit it means idc if u quit its not my option its yours not even tryna be rude

MangotrollfaceeditMangotrollfaceeditMar 16, 2026

AI HAX BROOOπŸ˜‚πŸŽ‰πŸŽ‰πŸŽ‰

C4N0FC4N0FMar 16, 2026

deepseek ai script final bossπŸ’”βœŒ

Guest_7293Guest_7293Apr 18, 2026

guys, a script is a script, just enjoy the content it gives 😭✌️, +, it doesnt look THAT ai, by the messages, it doesnt look like "[[[[ *LE FRAME ]]]" its looks like "*le frame"

Replying to @Guest_7293
Guest_7293Guest_7293Apr 18, 2026

f

d3crypted9d3crypted9Apr 21, 2026

guys jk ts is fxking a Am NOT giving yall me REAL f3x gui LOL

More Scripts for Universal Scripts