Divapan
Key RequiredUniversal

Divapan

Universal ScriptSinjsijSinjsij 472 views 2.8K executesUpdated Sep 11, 2026
Unrated
00
Lua Script•828 lines (26107 chars)
local R = game:GetService("RunService")
local P = game:GetService("Players")
local L = P.LocalPlayer
local UIS = game:GetService("UserInputService")
local Cam = workspace.CurrentCamera
local Lighting = game:GetService("Lighting")

pcall(function()
    for _, v in ipairs(Lighting:GetChildren()) do
        if v:IsA("Sky") or v:IsA("Atmosphere") or v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
            v:Destroy()
        end
    end
    Lighting.Ambient = Color3.fromRGB(168, 170, 174)
    Lighting.OutdoorAmbient = Color3.fromRGB(168, 170, 174)
    Lighting.Brightness = 1.4
    Lighting.ClockTime = 14
    Lighting.FogColor = Color3.fromRGB(186, 188, 192)
    Lighting.FogEnd = 5000
    Lighting.GlobalShadows = false
end)

local F, O, OS, FS, YS, YA, TI = 9999999, 0.1, 999, 999, 999, 0, 0.001
local BAM, RAM, VY, AV, VOIDY, SR, SS = 5, 10, 1, 1, -50000, 1.0, 0.5
local OB, RO = true, false
local oa, fa, ya, lf, tt = 0, 0, 0, 0, 0
local ct, nc, lc, is = nil, nil, nil, false
local ps = {}
local tm, mn = "Random", ""
local noclipOn, flyOn, antiOn = false, false, false
local noclipConn, flyConn = nil, nil
local flySpeed = 50
local bv = nil
local moveFn = nil

local C_BG = Color3.fromRGB(244, 245, 247)
local C_HEAD = Color3.fromRGB(228, 230, 234)
local C_CARD = Color3.fromRGB(255, 255, 255)
local C_LINE = Color3.fromRGB(198, 202, 208)
local C_INK = Color3.fromRGB(28, 30, 34)
local C_MUTE = Color3.fromRGB(108, 112, 120)
local C_BTN = Color3.fromRGB(232, 234, 238)
local C_ON = Color3.fromRGB(42, 46, 52)
local C_ONTEXT = Color3.fromRGB(250, 250, 252)

local function bindMove()
    moveFn = nil
    pcall(function()
        local pscripts = L:FindFirstChild("PlayerScripts") or L:WaitForChild("PlayerScripts", 3)
        if not pscripts then return end
        local pm = pscripts:FindFirstChild("PlayerModule")
        if pm then
            local mod = require(pm)
            local ctrl = mod:GetControls()
            moveFn = function()
                return ctrl:GetMoveVector()
            end
            return
        end
    end)
    if moveFn then return end
    pcall(function()
        local pscripts = L:FindFirstChild("PlayerScripts")
        local pm = pscripts and pscripts:FindFirstChild("PlayerModule")
        local cm = pm and pm:FindFirstChild("ControlModule")
        if cm then
            local ctrl = require(cm)
            moveFn = function()
                return ctrl:GetMoveVector()
            end
        end
    end)
end
bindMove()
task.spawn(function()
    task.wait(1)
    if not moveFn then bindMove() end
end)

local function getMove(h)
    local mv = Vector3.zero
    if moveFn then
        pcall(function()
            mv = moveFn()
        end)
    end
    if mv.Magnitude < 0.05 and h then
        mv = h.MoveDirection
        return mv, true
    end
    return mv, false
end

local function UT()
    if tm == "Random" then
        local a = {}
        for _, p in ipairs(P:GetPlayers()) do
            if p ~= L and p.Character then
                local h = p.Character:FindFirstChildOfClass("Humanoid")
                local r = p.Character:FindFirstChild("HumanoidRootPart")
                if h and r and h.Health > 0 then
                    table.insert(a, p)
                end
            end
        end
        ct = (#a > 0) and a[math.random(1, #a)] or nil
    elseif tm == "Closest" then
        local myR = L.Character and L.Character:FindFirstChild("HumanoidRootPart")
        if not myR then
            ct = nil
            return
        end
        local best, bestD = nil, math.huge
        for _, p in ipairs(P:GetPlayers()) do
            if p ~= L and p.Character then
                local h = p.Character:FindFirstChildOfClass("Humanoid")
                local r = p.Character:FindFirstChild("HumanoidRootPart")
                if h and r and h.Health > 0 then
                    local d = (r.Position - myR.Position).Magnitude
                    if d < bestD then
                        bestD = d
                        best = p
                    end
                end
            end
        end
        ct = best
    elseif tm == "Select" and mn ~= "" then
        ct = nil
        for _, p in ipairs(P:GetPlayers()) do
            if string.lower(p.Name) == string.lower(mn) or string.lower(p.DisplayName) == string.lower(mn) then
                ct = p
                break
            end
        end
    end
    if RO then
        O = math.random(1, 50) / 10
        OS = math.random(100, 999)
    end
end

local function SN()
    if nc then nc:Disconnect() end
    nc = R.Heartbeat:Connect(function()
        if not is then return end
        local c = L.Character
        if not c then return end
        for _, p in ipairs(c:GetDescendants()) do
            if p:IsA("BasePart") then
                p.CanCollide = false
            end
        end
    end)
end

local function AL()
    local c = L.Character
    if not c then return end
    for _, p in ipairs(c:GetDescendants()) do
        if p:IsA("BasePart") then
            p.CustomPhysicalProperties = PhysicalProperties.new(100, 100, 100, 100, 100)
            pcall(function() p:SetNetworkOwner(L) end)
        end
    end
end

local function IP(c)
    ps = {}
    for _, p in ipairs(c:GetChildren()) do
        if p:IsA("BasePart") then
            ps[p.Name] = {
                oa = math.rad(math.random(0, 360)),
                fa = math.rad(math.random(0, 360)),
                os = math.random(500, 1000) * (math.random(0, 1) == 0 and 1 or -1),
                fs = math.random(500, 1000) * (math.random(0, 1) == 0 and 1 or -1)
            }
        end
    end
end

local function FT(t, m)
    pcall(function()
        m.CFrame = t.CFrame
        local v = Vector3.new(0, F * VY, 0)
        local a = Vector3.new(F * AV, F * AV, F * AV)
        m.AssemblyLinearVelocity = v
        m.AssemblyAngularVelocity = a
        local c = L.Character
        if c then
            for _, p in ipairs(c:GetDescendants()) do
                if p:IsA("BasePart") then
                    p.AssemblyLinearVelocity = v
                    p.AssemblyAngularVelocity = a
                end
            end
        end
    end)
end

local function VoidSpam(r)
    pcall(function()
        local voidPos = Vector3.new(math.random(-10000, 10000), VOIDY, math.random(-10000, 10000))
        r.CFrame = CFrame.new(voidPos)
        r.AssemblyLinearVelocity = Vector3.new(0, -F * 10 * VY, 0)
        r.AssemblyAngularVelocity = Vector3.new(F * AV, F * AV, F * AV)
        local c = L.Character
        if c then
            for _, p in ipairs(c:GetDescendants()) do
                if p:IsA("BasePart") then
                    p.AssemblyLinearVelocity = Vector3.new(math.random(-F, F), -F * 5 * VY, math.random(-F, F))
                    p.AssemblyAngularVelocity = Vector3.new(F * AV, F * AV, F * AV)
                end
            end
        end
    end)
end

local function SL()
    if lc then lc:Disconnect() end
    tt = tick()
    UT()
    lc = R.Heartbeat:Connect(function()
        if not is then return end
        local c = L.Character
        if not c then return end
        local r = c:FindFirstChild("HumanoidRootPart")
        if not r then return end
        local n = tick()
        oa = oa + math.rad(OS)
        fa = fa + math.rad(FS)
        ya = ya + math.rad(YS)
        if (tm == "Random" or tm == "Closest") and (n - tt >= SR) then
            tt = n
            UT()
        elseif tm == "Select" and (n - tt >= SS) then
            tt = n
            UT()
        end
        local tr = nil
        if ct and ct.Character then
            tr = ct.Character:FindFirstChild("HumanoidRootPart")
        end
        if not tr then
            UT()
            if ct and ct.Character then
                tr = ct.Character:FindFirstChild("HumanoidRootPart")
            end
            if not tr then
                if (n - lf) >= TI then
                    lf = n
                    VoidSpam(r)
                end
                return
            end
        end
        for _, p in ipairs(c:GetChildren()) do
            if p:IsA("BasePart") and p ~= r then
                local s = ps[p.Name]
                if s then
                    s.oa = s.oa + math.rad(s.os)
                    s.fa = s.fa + math.rad(s.fs)
                    local ox = math.cos(s.oa) * O
                    local oy = math.sin(s.fa) * O
                    local oz = math.sin(s.oa) * O
                    p.CFrame = CFrame.new(tr.Position.X + ox, tr.Position.Y + oy, tr.Position.Z + oz) * CFrame.Angles(s.fa * BAM, ya + math.rad(YA), s.fa * BAM)
                end
            end
        end
        if (n - lf) >= TI then
            lf = n
            FT(tr, r)
        end
        if OB then
            local ox = math.cos(oa) * O
            local oz = math.sin(oa) * O
            local oy = math.sin(fa) * O
            r.CFrame = CFrame.new(tr.Position.X + ox, tr.Position.Y + oy, tr.Position.Z + oz) * CFrame.Angles(fa * RAM, ya * RAM + math.rad(YA), fa * RAM)
        end
    end)
end

local function SP()
    is = false
    if lc then lc:Disconnect() lc = nil end
    if nc then nc:Disconnect() nc = nil end
    local c = L.Character
    if not c then return end
    local h = c:FindFirstChildOfClass("Humanoid")
    for _, p in ipairs(c:GetDescendants()) do
        if p:IsA("BasePart") then
            p.CanCollide = true
            p.AssemblyLinearVelocity = Vector3.zero
            p.AssemblyAngularVelocity = Vector3.zero
            p.CustomPhysicalProperties = nil
        end
    end
    if h then
        pcall(function()
            h:BuildRigFromAttachments()
            h:ChangeState(Enum.HumanoidStateType.GettingUp)
        end)
    end
end

local function StartNoclip()
    if noclipConn then noclipConn:Disconnect() end
    noclipOn = true
    noclipConn = R.Heartbeat:Connect(function()
        if not noclipOn then return end
        local c = L.Character
        if not c then return end
        for _, p in ipairs(c:GetDescendants()) do
            if p:IsA("BasePart") then
                p.CanCollide = false
            end
        end
    end)
end

local function StopNoclip()
    noclipOn = false
    if noclipConn then noclipConn:Disconnect() noclipConn = nil end
    local c = L.Character
    if c then
        for _, p in ipairs(c:GetDescendants()) do
            if p:IsA("BasePart") then
                p.CanCollide = true
            end
        end
    end
end

local function StartFly()
    if flyConn then flyConn:Disconnect() end
    flyOn = true
    if not moveFn then bindMove() end
    local c = L.Character
    if not c then return end
    local r = c:FindFirstChild("HumanoidRootPart")
    local h = c:FindFirstChildOfClass("Humanoid")
    if not r then return end
    if h then
        h.PlatformStand = true
        h:ChangeState(Enum.HumanoidStateType.Physics)
    end
    if bv then pcall(function() bv:Destroy() end) end
    bv = Instance.new("BodyVelocity")
    bv.MaxForce = Vector3.new(9e9, 9e9, 9e9)
    bv.Velocity = Vector3.zero
    bv.Parent = r
    flyConn = R.Heartbeat:Connect(function()
        if not flyOn then return end
        local char = L.Character
        if not char then return end
        local root = char:FindFirstChild("HumanoidRootPart")
        local hum = char:FindFirstChildOfClass("Humanoid")
        if not root or not bv then return end
        local mv, world = getMove(hum)
        local cf = Cam.CFrame
        local dir
        if world then
            dir = Vector3.new(mv.X, 0, mv.Z)
            if dir.Magnitude > 0.05 then
                dir = dir + Vector3.new(0, cf.LookVector.Y * dir.Magnitude, 0)
            end
        else
            dir = cf.LookVector * -mv.Z + cf.RightVector * mv.X
        end
        if hum and (hum.Jump or UIS:IsKeyDown(Enum.KeyCode.Space)) then
            dir = dir + Vector3.new(0, 1, 0)
        end
        if dir.Magnitude > 0.05 then
            bv.Velocity = dir.Unit * flySpeed
        else
            bv.Velocity = Vector3.zero
        end
    end)
end

local function StopFly()
    flyOn = false
    if flyConn then flyConn:Disconnect() flyConn = nil end
    if bv then pcall(function() bv:Destroy() end) bv = nil end
    local c = L.Character
    if c then
        local h = c:FindFirstChildOfClass("Humanoid")
        local r = c:FindFirstChild("HumanoidRootPart")
        if h then
            h.PlatformStand = false
            h:ChangeState(Enum.HumanoidStateType.GettingUp)
        end
        if r then
            r.AssemblyLinearVelocity = Vector3.zero
        end
    end
end

local function DoAntiLag()
    for _, v in ipairs(workspace:GetDescendants()) do
        if v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
            pcall(function() v.Enabled = false end)
        elseif v:IsA("Explosion") then
            pcall(function() v:Destroy() end)
        end
    end
    pcall(function()
        settings().Rendering.QualityLevel = Enum.QualityLevel.Level01
    end)
end

L.CharacterAdded:Connect(function(c)
    task.wait(0.3)
    bindMove()
    if is then
        SN()
        AL()
        IP(c)
        if not lc then SL() end
    end
    if noclipOn then StartNoclip() end
    if flyOn then StartFly() end
end)

local function bindDrag(handle, target, onTap)
    local dragging = false
    local moved = false
    local token = nil
    local dragStart, startPos
    handle.Active = true
    handle.InputBegan:Connect(function(input)
        if input.UserInputType ~= Enum.UserInputType.Touch and input.UserInputType ~= Enum.UserInputType.MouseButton1 then
            return
        end
        dragging = true
        moved = false
        token = input
        dragStart = input.Position
        startPos = target.Position
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
                if token == input then token = nil end
                if onTap and not moved then onTap() end
            end
        end)
    end)
    local function apply(pos)
        if not dragging or not dragStart or not startPos then return end
        local delta = pos - dragStart
        if delta.Magnitude > 8 then moved = true end
        target.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
    UIS.InputChanged:Connect(function(input)
        if not dragging or not token then return end
        if input == token then
            apply(input.Position)
            return
        end
        if token.UserInputType == Enum.UserInputType.MouseButton1 and input.UserInputType == Enum.UserInputType.MouseMovement then
            apply(input.Position)
        end
    end)
    UIS.TouchMoved:Connect(function(touch)
        if dragging and token == touch then
            apply(touch.Position)
        end
    end)
end

local parentGui
pcall(function() parentGui = gethui() end)
if not parentGui then
    parentGui = L:WaitForChild("PlayerGui")
end

local sg = Instance.new("ScreenGui")
sg.Name = "Divine|pannel"
sg.ResetOnSpawn = false
sg.IgnoreGuiInset = true
sg.DisplayOrder = 999
sg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
sg.Parent = parentGui
for _, n in ipairs({"Divine|pannel", "Divine.pannel"}) do
    local old = parentGui:FindFirstChild(n)
    if old and old ~= sg then old:Destroy() end
end

local mf = Instance.new("Frame")
mf.Name = "MainFrame"
mf.BackgroundColor3 = C_BG
mf.Position = UDim2.new(1, -10, 0, 48)
mf.AnchorPoint = Vector2.new(1, 0)
mf.Size = UDim2.new(0, 250, 0, 310)
mf.BorderSizePixel = 0
mf.Active = true
mf.Parent = sg
Instance.new("UICorner", mf).CornerRadius = UDim.new(0, 12)
local stroke = Instance.new("UIStroke")
stroke.Color = C_LINE
stroke.Thickness = 1
stroke.Parent = mf

local header = Instance.new("TextButton")
header.Size = UDim2.new(1, 0, 0, 34)
header.BackgroundColor3 = C_HEAD
header.BorderSizePixel = 0
header.Text = ""
header.AutoButtonColor = false
header.Active = true
header.Parent = mf
Instance.new("UICorner", header).CornerRadius = UDim.new(0, 12)
local headerFix = Instance.new("Frame")
headerFix.Size = UDim2.new(1, 0, 0, 12)
headerFix.Position = UDim2.new(0, 0, 1, -12)
headerFix.BackgroundColor3 = C_HEAD
headerFix.BorderSizePixel = 0
headerFix.Active = false
headerFix.Parent = header

local mark = Instance.new("Frame")
mark.Size = UDim2.new(0, 6, 0, 6)
mark.Position = UDim2.new(0, 10, 0.5, 0)
mark.AnchorPoint = Vector2.new(0, 0.5)
mark.BackgroundColor3 = C_INK
mark.BorderSizePixel = 0
mark.Active = false
mark.Parent = header
Instance.new("UICorner", mark).CornerRadius = UDim.new(1, 0)

local ti = Instance.new("TextLabel")
ti.Size = UDim2.new(1, -72, 1, 0)
ti.Position = UDim2.new(0, 22, 0, 0)
ti.Font = Enum.Font.GothamBold
ti.Text = "Divine|pannel"
ti.TextColor3 = C_INK
ti.TextSize = 12
ti.BackgroundTransparency = 1
ti.TextXAlignment = Enum.TextXAlignment.Left
ti.Active = false
ti.Parent = header

local minBtn = Instance.new("TextButton")
minBtn.Size = UDim2.new(0, 24, 0, 24)
minBtn.Position = UDim2.new(1, -56, 0.5, 0)
minBtn.AnchorPoint = Vector2.new(0, 0.5)
minBtn.BackgroundColor3 = C_CARD
minBtn.Font = Enum.Font.GothamBold
minBtn.Text = "-"
minBtn.TextColor3 = C_INK
minBtn.TextSize = 14
minBtn.ZIndex = 2
minBtn.Parent = header
Instance.new("UICorner", minBtn).CornerRadius = UDim.new(1, 0)

local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 24, 0, 24)
closeBtn.Position = UDim2.new(1, -26, 0.5, 0)
closeBtn.AnchorPoint = Vector2.new(0, 0.5)
closeBtn.BackgroundColor3 = C_INK
closeBtn.Font = Enum.Font.GothamBold
closeBtn.Text = "x"
closeBtn.TextColor3 = C_ONTEXT
closeBtn.TextSize = 13
closeBtn.ZIndex = 2
closeBtn.Parent = header
Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(1, 0)

local openToggleBtn = Instance.new("TextButton")
openToggleBtn.Size = UDim2.new(0, 42, 0, 26)
openToggleBtn.Position = UDim2.new(0, 10, 0.38, 0)
openToggleBtn.BackgroundColor3 = C_BG
openToggleBtn.Font = Enum.Font.GothamBold
openToggleBtn.Text = "UI"
openToggleBtn.TextColor3 = C_INK
openToggleBtn.TextSize = 12
openToggleBtn.Active = true
openToggleBtn.AutoButtonColor = false
openToggleBtn.Parent = sg
Instance.new("UICorner", openToggleBtn).CornerRadius = UDim.new(0, 8)
local uiStroke = Instance.new("UIStroke")
uiStroke.Color = C_LINE
uiStroke.Thickness = 1
uiStroke.Parent = openToggleBtn

minBtn.MouseButton1Click:Connect(function() mf.Visible = false end)
closeBtn.MouseButton1Click:Connect(function() mf.Visible = false end)

bindDrag(header, mf)
bindDrag(openToggleBtn, openToggleBtn, function()
    mf.Visible = not mf.Visible
end)

local content = Instance.new("Frame")
content.Size = UDim2.new(1, -12, 1, -40)
content.Position = UDim2.new(0, 6, 0, 36)
content.BackgroundTransparency = 1
content.Parent = mf

local function MakeBtn(parent, text, bg, pos, size, on)
    local b = Instance.new("TextButton")
    b.Size = size
    b.Position = pos
    b.BackgroundColor3 = bg
    b.Font = Enum.Font.GothamBold
    b.Text = text
    b.TextColor3 = on and C_ONTEXT or C_INK
    b.TextSize = 10
    b.AutoButtonColor = false
    b.Parent = parent
    Instance.new("UICorner", b).CornerRadius = UDim.new(0, 8)
    return b
end

local function setOn(b, on, onText, offText)
    if on then
        b.Text = onText
        b.BackgroundColor3 = C_ON
        b.TextColor3 = C_ONTEXT
    else
        b.Text = offText
        b.BackgroundColor3 = C_BTN
        b.TextColor3 = C_INK
    end
end

local BW, BX = 114, 122
local tb = MakeBtn(content, "FLING  OFF", C_BTN, UDim2.new(0, 0, 0, 0), UDim2.new(0, BW, 0, 26), false)
tb.MouseButton1Click:Connect(function()
    if not is then
        is = true
        setOn(tb, true, "FLING  ON", "FLING  OFF")
        SN()
        AL()
        if L.Character then IP(L.Character) end
        SL()
    else
        SP()
        setOn(tb, false, "FLING  ON", "FLING  OFF")
    end
end)

local mub = MakeBtn(content, "RANDOM", C_CARD, UDim2.new(0, BX, 0, 0), UDim2.new(0, BW, 0, 26), false)
local ttb = Instance.new("TextBox")
ttb.Size = UDim2.new(1, 0, 0, 24)
ttb.Position = UDim2.new(0, 0, 0, 30)
ttb.BackgroundColor3 = C_CARD
ttb.Font = Enum.Font.Gotham
ttb.PlaceholderText = "닉네임 입력"
ttb.PlaceholderColor3 = C_MUTE
ttb.Text = ""
ttb.TextColor3 = C_INK
ttb.TextSize = 11
ttb.Visible = false
ttb.ClearTextOnFocus = false
ttb.Parent = content
Instance.new("UICorner", ttb).CornerRadius = UDim.new(0, 8)

mub.MouseButton1Click:Connect(function()
    if tm == "Random" then
        tm = "Closest"
        mub.Text = "CLOSEST"
        mub.BackgroundColor3 = C_ON
        mub.TextColor3 = C_ONTEXT
        ttb.Visible = false
    elseif tm == "Closest" then
        tm = "Select"
        mub.Text = "CHOOSE"
        mub.BackgroundColor3 = C_ON
        mub.TextColor3 = C_ONTEXT
        ttb.Visible = true
    else
        tm = "Random"
        mub.Text = "RANDOM"
        mub.BackgroundColor3 = C_CARD
        mub.TextColor3 = C_INK
        ttb.Visible = false
    end
    if is then UT() end
end)
ttb.FocusLost:Connect(function()
    mn = ttb.Text
    if is and tm == "Select" then UT() end
end)

local obb = MakeBtn(content, "ORBIT  ON", C_ON, UDim2.new(0, 0, 0, 58), UDim2.new(0, BW, 0, 26), true)
obb.MouseButton1Click:Connect(function()
    OB = not OB
    setOn(obb, OB, "ORBIT  ON", "ORBIT  OFF")
end)

local rob = MakeBtn(content, "RND  OFF", C_BTN, UDim2.new(0, BX, 0, 58), UDim2.new(0, BW, 0, 26), false)
rob.MouseButton1Click:Connect(function()
    RO = not RO
    setOn(rob, RO, "RND  ON", "RND  OFF")
end)

local ncb = MakeBtn(content, "NOCLIP  OFF", C_BTN, UDim2.new(0, 0, 0, 88), UDim2.new(0, BW, 0, 26), false)
ncb.MouseButton1Click:Connect(function()
    if not noclipOn then
        StartNoclip()
        setOn(ncb, true, "NOCLIP  ON", "NOCLIP  OFF")
    else
        StopNoclip()
        setOn(ncb, false, "NOCLIP  ON", "NOCLIP  OFF")
    end
end)

local flyb = MakeBtn(content, "FLY  OFF", C_BTN, UDim2.new(0, BX, 0, 88), UDim2.new(0, BW, 0, 26), false)
flyb.MouseButton1Click:Connect(function()
    if not flyOn then
        StartFly()
        setOn(flyb, true, "FLY  ON", "FLY  OFF")
    else
        StopFly()
        setOn(flyb, false, "FLY  ON", "FLY  OFF")
    end
end)

local alb = MakeBtn(content, "ANTILAG  OFF", C_BTN, UDim2.new(0, 0, 0, 118), UDim2.new(1, 0, 0, 26), false)
alb.MouseButton1Click:Connect(function()
    if not antiOn then
        antiOn = true
        DoAntiLag()
        setOn(alb, true, "ANTILAG  ON", "ANTILAG  OFF")
    else
        antiOn = false
        setOn(alb, false, "ANTILAG  ON", "ANTILAG  OFF")
    end
end)

local sep = Instance.new("Frame")
sep.Size = UDim2.new(1, 0, 0, 1)
sep.Position = UDim2.new(0, 0, 0, 150)
sep.BackgroundColor3 = C_LINE
sep.BorderSizePixel = 0
sep.Parent = content

local paramTitle = Instance.new("TextLabel")
paramTitle.Size = UDim2.new(1, 0, 0, 14)
paramTitle.Position = UDim2.new(0, 2, 0, 154)
paramTitle.Font = Enum.Font.GothamBold
paramTitle.Text = "PARAMETERS"
paramTitle.TextColor3 = C_MUTE
paramTitle.TextSize = 9
paramTitle.BackgroundTransparency = 1
paramTitle.TextXAlignment = Enum.TextXAlignment.Left
paramTitle.Parent = content

local scroll = Instance.new("ScrollingFrame")
scroll.Size = UDim2.new(1, 0, 0, 72)
scroll.Position = UDim2.new(0, 0, 0, 168)
scroll.BackgroundTransparency = 1
scroll.BorderSizePixel = 0
scroll.ScrollBarThickness = 3
scroll.ScrollBarImageColor3 = C_LINE
scroll.CanvasSize = UDim2.new(0, 0, 0, 168)
scroll.ScrollingDirection = Enum.ScrollingDirection.Y
scroll.Parent = content

local function CIF(tx, d, x, y, cb)
    local l = Instance.new("TextLabel")
    l.Size = UDim2.new(0, 62, 0, 20)
    l.Position = UDim2.new(0, x, 0, y)
    l.Font = Enum.Font.Gotham
    l.Text = tx
    l.TextColor3 = C_MUTE
    l.TextSize = 10
    l.BackgroundTransparency = 1
    l.TextXAlignment = Enum.TextXAlignment.Left
    l.Parent = scroll
    local b = Instance.new("TextBox")
    b.Size = UDim2.new(0, 50, 0, 20)
    b.Position = UDim2.new(0, x + 62, 0, y)
    b.BackgroundColor3 = C_CARD
    b.Font = Enum.Font.Gotham
    b.Text = tostring(d)
    b.TextColor3 = C_INK
    b.TextSize = 10
    b.ClearTextOnFocus = false
    b.Parent = scroll
    Instance.new("UICorner", b).CornerRadius = UDim.new(0, 6)
    b.FocusLost:Connect(function()
        local n = tonumber(b.Text)
        if n then cb(n) else b.Text = tostring(d) end
    end)
end

CIF("Power", F, 0, 0, function(v) F = v end)
CIF("Radius", O, 0, 24, function(v) O = v end)
CIF("Orbit", OS, 0, 48, function(v) OS = v end)
CIF("Float", FS, 0, 72, function(v) FS = v end)
CIF("Yaw Spd", YS, 0, 96, function(v) YS = v end)
CIF("Yaw Ang", YA, 0, 120, function(v) YA = v end)
CIF("Interval", TI, 0, 144, function(v) TI = v end)
CIF("Body", BAM, 122, 0, function(v) BAM = v end)
CIF("Root", RAM, 122, 24, function(v) RAM = v end)
CIF("Vel Y", VY, 122, 48, function(v) VY = v end)
CIF("Ang Vel", AV, 122, 72, function(v) AV = v end)
CIF("Void Y", VOIDY, 122, 96, function(v) VOIDY = v end)
CIF("Rnd Sw", SR, 122, 120, function(v) SR = v end)
CIF("Sel Sw", SS, 122, 144, function(v) SS = v end)

local flyBox = Instance.new("TextBox")
flyBox.Size = UDim2.new(0, 52, 0, 20)
flyBox.Position = UDim2.new(1, -52, 1, -22)
flyBox.BackgroundColor3 = C_CARD
flyBox.Font = Enum.Font.Gotham
flyBox.Text = "50"
flyBox.TextColor3 = C_INK
flyBox.TextSize = 10
flyBox.ClearTextOnFocus = false
flyBox.Parent = content
Instance.new("UICorner", flyBox).CornerRadius = UDim.new(0, 6)
local flyLabel = Instance.new("TextLabel")
flyLabel.Size = UDim2.new(0, 64, 0, 20)
flyLabel.Position = UDim2.new(1, -118, 1, -22)
flyLabel.Font = Enum.Font.Gotham
flyLabel.Text = "Fly Speed"
flyLabel.TextColor3 = C_MUTE
flyLabel.TextSize = 10
flyLabel.BackgroundTransparency = 1
flyLabel.TextXAlignment = Enum.TextXAlignment.Right
flyLabel.Parent = content
flyBox.FocusLost:Connect(function()
    local n = tonumber(flyBox.Text)
    if n then flySpeed = n else flyBox.Text = tostring(flySpeed) end
end)

Features & Information

P

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts