if game.PlaceId == 80002788030135 then

    ----------------------------------------------------------------
    -- SERVICES
    ----------------------------------------------------------------
    local Players = game:GetService("Players")
    local RunService = game:GetService("RunService")
    local StarterGui = game:GetService("StarterGui")
    local LocalPlayer = Players.LocalPlayer

    ----------------------------------------------------------------
    -- RAYFIELD INIT
    ----------------------------------------------------------------
    local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

    local Window = Rayfield:CreateWindow({
        Name = "Rayfield Example Window",
        Icon = 0,
        LoadingTitle = "ChiRaq HACKS",
        LoadingSubtitle = "by TungTung",
        ShowText = "Tuff",
        Theme = "Default",

        ToggleUIKeybind = "K",

        DisableRayfieldPrompts = false,
        DisableBuildWarnings = false,

        ConfigurationSaving = {
            Enabled = true,
            FolderName = nil,
            FileName = "Chi"
        },

        Discord = {
            Enabled = false,
            Invite = "noinvitelink",
            RememberJoins = true
        },

        KeySystem = true,
        KeySettings = {
            Title = "chiraq hax key system",
            Subtitle = "Key System",
            Note = "https://[Log in to view URL]",
            FileName = "Key",
            SaveKey = true,
            GrabKeyFromSite = true,
            Key = {"FREEKEY---348327438274875"}
        }
    })

    ----------------------------------------------------------------
    -- HOME TAB
    ----------------------------------------------------------------
    local HomeTab = Window:CreateTab("Home🏠", 4483362458)
    local HomeSection = HomeTab:CreateSection("Home🏠")

    -- JumpPower slider
    local JumpSlider = HomeTab:CreateSlider({
        Name = "JumpPower",
        Range = {50, 500},
        Increment = 5,
        Suffix = "JumpPower",
        CurrentValue = 50,
        Flag = "Slider_Jump",
        Callback = function(Value)
            local char = LocalPlayer.Character
            local hum = char and char:FindFirstChildOfClass("Humanoid")
            if hum then
                hum.JumpPower = Value
            end
        end,
    })

    -- Walkspeed slider
    local WalkSlider = HomeTab:CreateSlider({
        Name = "Walkspeed",
        Range = {16, 500},
        Increment = 1,
        Suffix = "Walkspeed",
        CurrentValue = 16,
        Flag = "Slider_Walk",
        Callback = function(Value)
            local char = LocalPlayer.Character
            local hum = char and char:FindFirstChildOfClass("Humanoid")
            if hum then
                hum.WalkSpeed = Value
            end
        end,
    })

    ----------------------------------------------------------------
    -- FLING GUI BUTTON
    ----------------------------------------------------------------
    local FlingButton = HomeTab:CreateButton({
        Name = "Fling gui",
        Callback = function()
            local player = LocalPlayer
            local playerGui = player:WaitForChild("PlayerGui")

            local gui = Instance.new("ScreenGui")
            gui.ResetOnSpawn = false
            gui.Name = "FlingGui"
            gui.Parent = playerGui

            local timerLabel = Instance.new("TextLabel")
            timerLabel.Size = UDim2.new(0, 200, 0, 50)
            timerLabel.Position = UDim2.new(0, 20, 0, 20)
            timerLabel.TextScaled = true
            timerLabel.BackgroundColor3 = Color3.fromRGB(0,0,0)
            timerLabel.TextColor3 = Color3.fromRGB(255,255,255)
            timerLabel.Text = "Time: 0"
            timerLabel.Parent = gui

            local counterLabel = Instance.new("TextLabel")
            counterLabel.Size = UDim2.new(0, 200, 0, 50)
            counterLabel.Position = UDim2.new(0, 20, 0, 80)
            counterLabel.TextScaled = true
            counterLabel.BackgroundColor3 = Color3.fromRGB(0,0,0)
            counterLabel.TextColor3 = Color3.fromRGB(255,255,255)
            counterLabel.Text = "Players Flung: 0"
            counterLabel.Parent = gui

            local toggleButton = Instance.new("TextButton")
            toggleButton.Size = UDim2.new(0, 150, 0, 50)
            toggleButton.Position = UDim2.new(0, 20, 0, 140)
            toggleButton.TextScaled = true
            toggleButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
            toggleButton.TextColor3 = Color3.fromRGB(255,255,255)
            toggleButton.Text = "Start Fling"
            toggleButton.Parent = gui

            local minimizeButton = Instance.new("TextButton")
            minimizeButton.Size = UDim2.new(0, 30, 0, 30)
            minimizeButton.Position = UDim2.new(0, 230, 0, 20)
            minimizeButton.Text = "-"
            minimizeButton.TextScaled = true
            minimizeButton.BackgroundColor3 = Color3.fromRGB(100,100,100)
            minimizeButton.TextColor3 = Color3.fromRGB(255,255,255)
            minimizeButton.Parent = gui

            local closeButton = Instance.new("TextButton")
            closeButton.Size = UDim2.new(0, 30, 0, 30)
            closeButton.Position = UDim2.new(0, 270, 0, 20)
            closeButton.Text = "X"
            closeButton.TextScaled = true
            closeButton.BackgroundColor3 = Color3.fromRGB(200,0,0) -- red
            closeButton.TextColor3 = Color3.fromRGB(255,255,255)   -- white X
            closeButton.Parent = gui

            local githubButton = Instance.new("TextButton")
            githubButton.Size = UDim2.new(0, 250, 0, 40)
            githubButton.Position = UDim2.new(0, 20, 0, 200)
            githubButton.TextScaled = true
            githubButton.BackgroundColor3 = Color3.fromRGB(30,30,30)
            githubButton.TextColor3 = Color3.fromRGB(255,255,255)
            githubButton.Text = "https://[Log in to view URL]"
            githubButton.Parent = gui

            task.spawn(function()
                local hue = 0
                while githubButton.Parent do
                    hue = (hue + 0.01) % 1
                    githubButton.TextColor3 = Color3.fromHSV(hue, 1, 1)
                    task.wait(0.05)
                end
            end)

            githubButton.MouseButton1Click:Connect(function()
                if setclipboard then
                    setclipboard("https://[Log in to view URL]")
                end
            end)

            closeButton.MouseButton1Click:Connect(function()
                gui:Destroy()
            end)

            local minimized = false
            minimizeButton.MouseButton1Click:Connect(function()
                minimized = not minimized
                if minimized then
                    timerLabel.Visible = false
                    counterLabel.Visible = false
                    toggleButton.Visible = false
                    githubButton.Visible = false
                    minimizeButton.Text = "+"
                else
                    timerLabel.Visible = true
                    counterLabel.Visible = true
                    toggleButton.Visible = true
                    githubButton.Visible = true
                    minimizeButton.Text = "-"
                end
            end)

            local startTime = 0
            local FlingActive = false
            local flungCount = 0

            RunService.RenderStepped:Connect(function()
                if startTime > 0 then
                    timerLabel.Text = string.format("Time: %.1f", tick() - startTime)
                end
            end)

            local function SkidFling(TargetPlayer)
                local Character = player.Character
                local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
                local RootPart = Humanoid and Humanoid.RootPart
                local TCharacter = TargetPlayer.Character
                if not TCharacter then return false end

                local THumanoid = TCharacter:FindFirstChildOfClass("Humanoid")
                local TRootPart = THumanoid and THumanoid.RootPart
                local THead = TCharacter:FindFirstChild("Head")
                local Accessory = TCharacter:FindFirstChildOfClass("Accessory")
                local Handle = Accessory and Accessory:FindFirstChild("Handle")

                if Character and Humanoid and RootPart then
                    if RootPart.Velocity.Magnitude < 50 then
                        getgenv().OldPos = RootPart.CFrame
                    end

                    if THumanoid and THumanoid.Sit then return false end

                    if THead then
                        workspace.CurrentCamera.CameraSubject = THead
                    elseif Handle then
                        workspace.CurrentCamera.CameraSubject = Handle
                    elseif THumanoid and TRootPart then
                        workspace.CurrentCamera.CameraSubject = THumanoid
                    end

                    if not TCharacter:FindFirstChildWhichIsA("BasePart") then return false end

                    local function FPos(BasePart, Pos, Ang)
                        RootPart.CFrame = CFrame.new(BasePart.Position) * Pos * Ang
                        Character:SetPrimaryPartCFrame(CFrame.new(BasePart.Position) * Pos * Ang)
                        RootPart.Velocity = Vector3.new(9e7, 9e7 * 10, 9e7)
                        RootPart.RotVelocity = Vector3.new(9e8, 9e8, 9e8)
                    end

                    local function SFBasePart(BasePart)
                        local TimeToWait = 2
                        local Time = tick()
                        local Angle = 0
                        repeat
                            if RootPart and THumanoid then
                                if BasePart.Velocity.Magnitude < 50 then
                                    Angle = Angle + 100
                                    FPos(BasePart,
                                        CFrame.new(0,1.5,0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude/1.25,
                                        CFrame.Angles(math.rad(Angle),0,0))
                                    task.wait()
                                    FPos(BasePart,
                                        CFrame.new(0,-1.5,0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude/1.25,
                                        CFrame.Angles(math.rad(Angle),0,0))
                                    task.wait()
                                end
                            end
                        until Time + TimeToWait < tick() or not FlingActive
                    end

                    local BV = Instance.new("BodyVelocity")
                    BV.Parent = RootPart
                    BV.Velocity = Vector3.new(0,0,0)
                    BV.MaxForce = Vector3.new(9e9,9e9,9e9)

                    Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)

                    if TRootPart then
                        SFBasePart(TRootPart)
                    elseif THead then
                        SFBasePart(THead)
                    elseif Handle then
                        SFBasePart(Handle)
                    end

                    BV:Destroy()
                    Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
                    workspace.CurrentCamera.CameraSubject = Humanoid

                    return true
                end
                return false
            end

            toggleButton.MouseButton1Click:Connect(function()
                FlingActive = not FlingActive
                if FlingActive then
                    startTime = tick()
                    flungCount = 0
                    counterLabel.Text = "Players Flung: 0"
                    toggleButton.Text = "Stop Fling"

                    task.spawn(function()
                        while FlingActive do
                            local targets = {}
                            for _, otherPlayer in pairs(Players:GetPlayers()) do
                                if otherPlayer ~= player then
                                    table.insert(targets, otherPlayer)
                                end
                            end

                            if #targets > 0 then
                                local randomPlayer = targets[math.random(1,#targets)]
                                local success = pcall(SkidFling, randomPlayer)
                                if success then
                                    flungCount = flungCount + 1
                                    counterLabel.Text = "Players Flung: " .. flungCount
                                end
                                task.wait(0.7)
                            else
                                task.wait(1)
                            end
                        end
                    end)
                else
                    toggleButton.Text = "Start Fling"
                end
            end)
        end,
    })

    ----------------------------------------------------------------
    -- FLY GUI TOGGLE (Fly GUI V4)
    ----------------------------------------------------------------
    local FlyGui -- to destroy when toggle off

    local FlyToggle = HomeTab:CreateToggle({
        Name = "Fly gui",
        CurrentValue = false,
        Flag = "Toggle_FlyGui",
        Callback = function(Value)
            if not Value then
                if FlyGui then
                    FlyGui:Destroy()
                    FlyGui = nil
                end
                return
            end

            if FlyGui and FlyGui.Parent then
                return
            end

            local main = Instance.new("ScreenGui")
            FlyGui = main
            local Frame = Instance.new("Frame")
            local up = Instance.new("TextButton")
            local down = Instance.new("TextButton")
            local onof = Instance.new("TextButton")
            local TextLabel = Instance.new("TextLabel")
            local plus = Instance.new("TextButton")
            local speed = Instance.new("TextLabel")
            local mine = Instance.new("TextButton")
            local closebutton = Instance.new("TextButton")
            local mini = Instance.new("TextButton")
            local mini2 = Instance.new("TextButton")

            main.Name = "main"
            main.Parent = LocalPlayer:WaitForChild("PlayerGui")
            main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
            main.ResetOnSpawn = false

            Frame.Parent = main
            Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
            Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
            Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
            Frame.Size = UDim2.new(0, 190, 0, 57)
            Frame.Active = true
            Frame.Draggable = true

            up.Name = "up"
            up.Parent = Frame
            up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
            up.Size = UDim2.new(0, 44, 0, 28)
            up.Font = Enum.Font.SourceSans
            up.Text = "UP"
            up.TextColor3 = Color3.fromRGB(0, 0, 0)
            up.TextSize = 14.000

            down.Name = "down"
            down.Parent = Frame
            down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
            down.Position = UDim2.new(0, 0, 0.491228074, 0)
            down.Size = UDim2.new(0, 44, 0, 28)
            down.Font = Enum.Font.SourceSans
            down.Text = "DOWN"
            down.TextColor3 = Color3.fromRGB(0, 0, 0)
            down.TextSize = 14.000

            onof.Name = "onof"
            onof.Parent = Frame
            onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
            onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
            onof.Size = UDim2.new(0, 56, 0, 28)
            onof.Font = Enum.Font.SourceSans
            onof.Text = "fly"
            onof.TextColor3 = Color3.fromRGB(0, 0, 0)
            onof.TextSize = 14.000

            TextLabel.Parent = Frame
            TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
            TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
            TextLabel.Size = UDim2.new(0, 100, 0, 28)
            TextLabel.Font = Enum.Font.SourceSans
            TextLabel.Text = "FLY GUI V4"
            TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
            TextLabel.TextScaled = true
            TextLabel.TextSize = 14.000
            TextLabel.TextWrapped = true

            plus.Name = "plus"
            plus.Parent = Frame
            plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
            plus.Position = UDim2.new(0.231578946, 0, 0, 0)
            plus.Size = UDim2.new(0, 45, 0, 28)
            plus.Font = Enum.Font.SourceSans
            plus.Text = "+"
            plus.TextColor3 = Color3.fromRGB(0, 0, 0)
            plus.TextScaled = true
            plus.TextSize = 14.000
            plus.TextWrapped = true

            speed.Name = "speed"
            speed.Parent = Frame
            speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
            speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
            speed.Size = UDim2.new(0, 44, 0, 28)
            speed.Font = Enum.Font.SourceSans
            speed.Text = "1"
            speed.TextColor3 = Color3.fromRGB(0, 0, 0)
            speed.TextScaled = true
            speed.TextSize = 14.000
            speed.TextWrapped = true

            mine.Name = "mine"
            mine.Parent = Frame
            mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
            mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
            mine.Size = UDim2.new(0, 45, 0, 29)
            mine.Font = Enum.Font.SourceSans
            mine.Text = "-"
            mine.TextColor3 = Color3.fromRGB(0, 0, 0)
            mine.TextScaled = true
            mine.TextSize = 14.000
            mine.TextWrapped = true

            closebutton.Name = "Close"
            closebutton.Parent = Frame
            closebutton.BackgroundColor3 = Color3.fromRGB(225, 25, 0)
            closebutton.Font = Enum.Font.SourceSans
            closebutton.Size = UDim2.new(0, 45, 0, 28)
            closebutton.Text = "X"
            closebutton.TextSize = 30
            closebutton.Position = UDim2.new(0, 0, -1, 27)

            mini.Name = "minimize"
            mini.Parent = Frame
            mini.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
            mini.Font = Enum.Font.SourceSans
            mini.Size = UDim2.new(0, 45, 0, 28)
            mini.Text = "-"
            mini.TextSize = 40
            mini.Position = UDim2.new(0, 44, -1, 27)

            mini2.Name = "minimize2"
            mini2.Parent = Frame
            mini2.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
            mini2.Font = Enum.Font.SourceSans
            mini2.Size = UDim2.new(0, 45, 0, 28)
            mini2.Text = "+"
            mini2.TextSize = 40
            mini2.Position = UDim2.new(0, 44, -1, 57)
            mini2.Visible = false

            local speeds = 1
            local speaker = LocalPlayer
            local nowe = false
            local tpwalking

            StarterGui:SetCore("SendNotification", { 
                Title = "FLY GUI V4",
                Text = "BY DentinhoJs",
                Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=1501",
                Duration = 5
            })

            onof.MouseButton1Down:Connect(function()
                if nowe == true then
                    nowe = false

                    local hum = speaker.Character and speaker.Character:FindFirstChildOfClass("Humanoid")
                    if hum then
                        for _, state in ipairs(Enum.HumanoidStateType:GetEnumItems()) do
                            hum:SetStateEnabled(state, true)
                        end
                        hum:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
                    end
                    tpwalking = false
                else
                    nowe = true

                    for i = 1, speeds do
                        task.spawn(function()
                            local hb = RunService.Heartbeat
                            tpwalking = true
                            local chr = speaker.Character
                            local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
                            while tpwalking and hb:Wait() and chr and hum and hum.Parent do
                                if hum.MoveDirection.Magnitude > 0 then
                                    chr:TranslateBy(hum.MoveDirection)
                                end
                            end
                        end)
                    end

                    if speaker.Character then
                        local anim = speaker.Character:FindFirstChild("Animate")
                        if anim then anim.Disabled = true end
                        local Hum = speaker.Character:FindFirstChildOfClass("Humanoid")
                        if Hum then
                            for _, track in ipairs(Hum:GetPlayingAnimationTracks()) do
                                track:AdjustSpeed(0)
                            end
                            for _, state in ipairs(Enum.HumanoidStateType:GetEnumItems()) do
                                Hum:SetStateEnabled(state, false)
                            end
                            Hum:ChangeState(Enum.HumanoidStateType.Swimming)
                        end
                    end
                end
            end)

            local tis
            up.MouseButton1Down:Connect(function()
                tis = up.MouseEnter:Connect(function()
                    while tis do
                        task.wait()
                        local char = speaker.Character
                        local hrp = char and char:FindFirstChild("HumanoidRootPart")
                        if hrp then
                            hrp.CFrame = hrp.CFrame * CFrame.new(0,1,0)
                        end
                    end
                end)
            end)

            up.MouseLeave:Connect(function()
                if tis then
                    tis:Disconnect()
                    tis = nil
                end
            end)

            local dis
            down.MouseButton1Down:Connect(function()
                dis = down.MouseEnter:Connect(function()
                    while dis do
                        task.wait()
                        local char = speaker.Character
                        local hrp = char and char:FindFirstChild("HumanoidRootPart")
                        if hrp then
                            hrp.CFrame = hrp.CFrame * CFrame.new(0,-1,0)
                        end
                    end
                end)
            end)

            down.MouseLeave:Connect(function()
                if dis then
                    dis:Disconnect()
                    dis = nil
                end
            end)

            LocalPlayer.CharacterAdded:Connect(function()
                task.wait(0.7)
                local char = LocalPlayer.Character
                if char then
                    local hum = char:FindFirstChildOfClass("Humanoid")
                    if hum then
                        hum.PlatformStand = false
                    end
                    local anim = char:FindFirstChild("Animate")
                    if anim then anim.Disabled = false end
                end
            end)

            plus.MouseButton1Down:Connect(function()
                speeds = speeds + 1
                speed.Text = tostring(speeds)
            end)

            mine.MouseButton1Down:Connect(function()
                if speeds == 1 then
                    speed.Text = "min 1"
                    task.wait(1)
                    speed.Text = tostring(speeds)
                else
                    speeds = speeds - 1
                    speed.Text = tostring(speeds)
                end
            end)

            closebutton.MouseButton1Click:Connect(function()
                if FlyGui then
                    FlyGui:Destroy()
                    FlyGui = nil
                end
            end)

            mini.MouseButton1Click:Connect(function()
                up.Visible = false
                down.Visible = false
                onof.Visible = false
                plus.Visible = false
                speed.Visible = false
                mine.Visible = false
                mini.Visible = false
                mini2.Visible = true
                Frame.BackgroundTransparency = 1
                closebutton.Position = UDim2.new(0, 0, -1, 57)
            end)

            mini2.MouseButton1Click:Connect(function()
                up.Visible = true
                down.Visible = true
                onof.Visible = true
                plus.Visible = true
                speed.Visible = true
                mine.Visible = true
                mini.Visible = true
                mini2.Visible = false
                Frame.BackgroundTransparency = 0 
                closebutton.Position = UDim2.new(0, 0, -1, 27)
            end)
        end,
    })

    ----------------------------------------------------------------
    -- NOCLIP (Toggle on Home tab)
    ----------------------------------------------------------------
    local noclipEnabled = false
    local noclipConnection

    local function stopNoclip()
        noclipEnabled = false
        if noclipConnection then
            noclipConnection:Disconnect()
            noclipConnection = nil
        end

        local char = LocalPlayer.Character
        if not char then return end

        for _, part in ipairs(char:GetDescendants()) do
            if part:IsA("BasePart") then
                part.CanCollide = true
            end
        end
    end

    local function startNoclip()
        noclipEnabled = true

        if noclipConnection then
            noclipConnection:Disconnect()
        end

        noclipConnection = RunService.Stepped:Connect(function()
            if not noclipEnabled then return end
            local char = LocalPlayer.Character
            if not char then return end

            for _, part in ipairs(char:GetDescendants()) do
                if part:IsA("BasePart") then
                    part.CanCollide = false
                end
            end
        end)
    end

    local NoclipToggle = HomeTab:CreateToggle({
        Name = "Noclip",
        CurrentValue = false,
        Flag = "Toggle_Noclip",
        Callback = function(Value)
            if Value then
                startNoclip()
            else
                stopNoclip()
            end
        end,
    })

    ----------------------------------------------------------------
    -- ESP LOGIC (with staff highlight + clean rounded HP bar)
    ----------------------------------------------------------------
    local espEnabled = false
    local espConnections = {}
    local espColor = Color3.fromRGB(255, 255, 255)
    local rainbowEnabled = false
    local rainbowConnection
    local tracerEnabled = false
    local STAFF_COLOR = Color3.fromRGB(255, 255, 0) -- bright yellow

    local function clearESP()
        espEnabled = false

        for _, conn in ipairs(espConnections) do
            if conn.Disconnect then
                conn:Disconnect()
            end
        end
        espConnections = {}

        for _, plr in ipairs(Players:GetPlayers()) do
            if plr.Character then
                local char = plr.Character
                local head = char:FindFirstChild("Head")
                if head then
                    local gui = head:FindFirstChild("ESPBillboard")
                    if gui then
                        gui:Destroy()
                    end
                end
                local hl = char:FindFirstChild("ESPHighlight")
                if hl then
                    hl:Destroy()
                end
                local hrp = char:FindFirstChild("HumanoidRootPart")
                if hrp then
                    for _, child in ipairs(hrp:GetChildren()) do
                        if child:IsA("Beam") and child.Name == "ESPTracer" then
                            child:Destroy()
                        end
                    end
                end
            end
        end
    end

    local function updateESPColor()
        for _, plr in ipairs(Players:GetPlayers()) do
            if plr ~= LocalPlayer then
                local char = plr.Character
                if char then
                    local head = char:FindFirstChild("Head")
                    local bill = head and head:FindFirstChild("ESPBillboard")
                    local isStaff = bill and bill:GetAttribute("IsStaff")

                    if bill then
                        local label = bill:FindFirstChild("NameLabel")
                        local healthBg = bill:FindFirstChild("HealthBg")
                        local healthFill = healthBg and healthBg:FindFirstChild("HealthFill")
                        if label then
                            label.TextColor3 = isStaff and STAFF_COLOR or espColor
                        end
                        if healthFill then
                            healthFill.BackgroundColor3 = espColor
                        end
                    end

                    local hl = char:FindFirstChild("ESPHighlight")
                    if hl then
                        hl.OutlineColor = isStaff and STAFF_COLOR or espColor
                    end

                    local hrp = char:FindFirstChild("HumanoidRootPart")
                    if hrp then
                        for _, child in ipairs(hrp:GetChildren()) do
                            if child:IsA("Beam") and child.Name == "ESPTracer" then
                                child.Color = ColorSequence.new(isStaff and STAFF_COLOR or espColor)
                            end
                        end
                    end
                end
            end
        end
    end

    local function setupTracer(char)
        if not tracerEnabled then return end

        local lpChar = LocalPlayer.Character
        if not lpChar then return end

        local lpRoot = lpChar:FindFirstChild("HumanoidRootPart")
        local tRoot = char:FindFirstChild("HumanoidRootPart")
        if not (lpRoot and tRoot) then return end

        local attach0 = lpRoot:FindFirstChild("TracerAttachment")
        if not attach0 then
            attach0 = Instance.new("Attachment")
            attach0.Name = "TracerAttachment"
            attach0.Parent = lpRoot
        end

        local attach1 = tRoot:FindFirstChild("TracerAttachment")
        if not attach1 then
            attach1 = Instance.new("Attachment")
            attach1.Name = "TracerAttachment"
            attach1.Parent = tRoot
        end

        local oldBeam = tRoot:FindFirstChild("ESPTracer")
        if oldBeam then oldBeam:Destroy() end

        local head = char:FindFirstChild("Head")
        local bill = head and head:FindFirstChild("ESPBillboard")
        local isStaff = bill and bill:GetAttribute("IsStaff")

        local beam = Instance.new("Beam")
        beam.Name = "ESPTracer"
        beam.Attachment0 = attach0
        beam.Attachment1 = attach1
        beam.FaceCamera = true
        beam.Width0 = 0.08
        beam.Width1 = 0.08
        beam.Color = ColorSequence.new(isStaff and STAFF_COLOR or espColor)
        beam.LightEmission = 0.7
        beam.Parent = tRoot
    end

    local function removeTracer(char)
        local hrp = char:FindFirstChild("HumanoidRootPart")
        if hrp then
            for _, child in ipairs(hrp:GetChildren()) do
                if child:IsA("Beam") and child.Name == "ESPTracer" then
                    child:Destroy()
                end
            end
        end
    end

    local function attachESPToCharacter(char, plr)
        if not espEnabled then return end
        if not char then return end
        local head = char:FindFirstChild("Head")
        if not head then return end

        local old = head:FindFirstChild("ESPBillboard")
        if old then old:Destroy() end
        local oldHl = char:FindFirstChild("ESPHighlight")
        if oldHl then oldHl:Destroy() end

        local bill = Instance.new("BillboardGui")
        bill.Name = "ESPBillboard"
        bill.AlwaysOnTop = true
        bill.Size = UDim2.new(0, 200, 0, 60)
        bill.StudsOffset = Vector3.new(0, 3, 0)
        bill.Parent = head

        local label = Instance.new("TextLabel")
        label.Name = "NameLabel"
        label.Size = UDim2.new(1, 0, 0.6, 0)
        label.Position = UDim2.new(0, 0, 0, 0)
        label.BackgroundTransparency = 1
        label.Font = Enum.Font.SourceSansBold
        label.TextScaled = true
        label.TextStrokeTransparency = 0
        label.Parent = bill

        -- detect staff by name
        local lowerName = string.lower((plr.DisplayName or "") .. " " .. (plr.Name or ""))
        local isStaff = string.find(lowerName, "mod") or string.find(lowerName, "admin") or string.find(lowerName, "staff") or string.find(lowerName, "support")
        isStaff = isStaff and true or false
        bill:SetAttribute("IsStaff", isStaff)

        label.TextColor3 = isStaff and STAFF_COLOR or espColor

        -- cleaner rounded health bar
        local healthBg = Instance.new("Frame")
        healthBg.Name = "HealthBg"
        healthBg.Size = UDim2.new(0.8, 0, 0.18, 0)
        healthBg.Position = UDim2.new(0.1, 0, 0.75, 0)
        healthBg.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
        healthBg.BorderSizePixel = 0
        healthBg.BackgroundTransparency = 0.25
        healthBg.Parent = bill

        local bgCorner = Instance.new("UICorner")
        bgCorner.CornerRadius = UDim.new(0, 6)
        bgCorner.Parent = healthBg

        local healthFill = Instance.new("Frame")
        healthFill.Name = "HealthFill"
        healthFill.Size = UDim2.new(1, 0, 1, 0)
        healthFill.Position = UDim2.new(0, 0, 0, 0)
        healthFill.BackgroundColor3 = espColor
        healthFill.BorderSizePixel = 0
        healthFill.Parent = healthBg

        local fillCorner = Instance.new("UICorner")
        fillCorner.CornerRadius = UDim.new(0, 6)
        fillCorner.Parent = healthFill

        local hl = Instance.new("Highlight")
        hl.Name = "ESPHighlight"
        hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
        hl.FillTransparency = 1
        hl.OutlineTransparency = 0
        hl.OutlineColor = isStaff and STAFF_COLOR or espColor
        hl.Parent = char

        if tracerEnabled then
            setupTracer(char)
        else
            removeTracer(char)
        end

        local conn = RunService.RenderStepped:Connect(function()
            if not espEnabled then return end
            if not char.Parent then return end

            local lpChar = LocalPlayer.Character
            local lpRoot = lpChar and lpChar:FindFirstChild("HumanoidRootPart")
            local tRoot = char:FindFirstChild("HumanoidRootPart")
            local humanoid = char:FindFirstChildOfClass("Humanoid")

            local distText = ""
            if lpRoot and tRoot then
                local dist = (lpRoot.Position - tRoot.Position).Magnitude
                distText = string.format(" [%.0f]", dist)
            end

            label.Text = plr.Name .. distText

            if humanoid and healthFill and healthBg then
                local maxHealth = humanoid.MaxHealth > 0 and humanoid.MaxHealth or 100
                local health = math.clamp(humanoid.Health, 0, maxHealth)
                local ratio = health / maxHealth
                healthFill.Size = UDim2.new(ratio, 0, 1, 0)
            end
        end)

        table.insert(espConnections, conn)
    end

    local function attachESPToPlayer(plr)
        if plr == LocalPlayer then return end

        if plr.Character then
            task.spawn(function()
                task.wait(0.2)
                attachESPToCharacter(plr.Character, plr)
            end)
        end

        local charConn = plr.CharacterAdded:Connect(function(char)
            task.wait(0.2)
            attachESPToCharacter(char, plr)
        end)
        table.insert(espConnections, charConn)
    end

    local function enableESP()
        if espEnabled then return end
        espEnabled = true

        for _, plr in ipairs(Players:GetPlayers()) do
            attachESPToPlayer(plr)
        end

        local addConn = Players.PlayerAdded:Connect(function(plr)
            attachESPToPlayer(plr)
        end)
        table.insert(espConnections, addConn)
    end

    local function stopRainbow()
        rainbowEnabled = false
        if rainbowConnection then
            rainbowConnection:Disconnect()
            rainbowConnection = nil
        end
    end

    local function startRainbow()
        rainbowEnabled = true
        if rainbowConnection then
            rainbowConnection:Disconnect()
        end

        local hue = 0
        rainbowConnection = RunService.RenderStepped:Connect(function()
            if not rainbowEnabled then return end
            hue = (hue + 0.005) % 1
            espColor = Color3.fromHSV(hue, 1, 1)
            updateESPColor()
        end)
    end

    ----------------------------------------------------------------
    -- ESP TAB + UI
    ----------------------------------------------------------------
    local ESPTab = Window:CreateTab("ESP👁", 4483362458)
    local ESPSection = ESPTab:CreateSection("ESP Settings")

    local ColorPicker = ESPTab:CreateColorPicker({
        Name = "ESP Color",
        Color = espColor,
        Flag = "ESP_Color",
        Callback = function(Color)
            espColor = Color
            stopRainbow()
            updateESPColor()
        end,
    })

    local RainbowToggle = ESPTab:CreateToggle({
        Name = "Rainbow ESP",
        CurrentValue = false,
        Flag = "ESP_Rainbow",
        Callback = function(Value)
            if Value then
                startRainbow()
            else
                stopRainbow()
                updateESPColor()
            end
        end,
    })

    local TracersToggle = ESPTab:CreateToggle({
        Name = "Tracers",
        CurrentValue = false,
        Flag = "ESP_Tracers",
        Callback = function(Value)
            tracerEnabled = Value
            if not Value then
                for _, plr in ipairs(Players:GetPlayers()) do
                    if plr ~= LocalPlayer and plr.Character then
                        removeTracer(plr.Character)
                    end
                end
            else
                if espEnabled then
                    for _, plr in ipairs(Players:GetPlayers()) do
                        if plr ~= LocalPlayer and plr.Character then
                            setupTracer(plr.Character)
                        end
                    end
                end
            end
        end,
    })

    local ESPToggle = ESPTab:CreateToggle({
        Name = "Player ESP",
        CurrentValue = false,
        Flag = "Toggle_ESP",
        Callback = function(Value)
            if Value then
                enableESP()
                updateESPColor()
            else
                clearESP()
            end
        end,
    })

    ----------------------------------------------------------------
    -- TELEPORT TAB (players + map spots)
    ----------------------------------------------------------------
    local TeleportTab = Window:CreateTab("Teleport🌀", 4483362458)
    local TPSection = TeleportTab:CreateSection("Teleport to Players / Spots")

    -- special map spots
    local APT1_CFRAME = CFrame.new(46.81, 5.21, 102.36)        -- Apt 1
    local CARD_SHOP_CFRAME = CFrame.new(242.42, 5.00, 72.68)   -- Buy cards
    local GUN_DEALER_INSERT_CFRAME = CFrame.new(-19.14, 4.49, -178.87) -- Gun dealer insert card
    local ATM_EXTRA_CFRAME = CFrame.new(731.26, 4.49, -50.64)  -- Extra spot / ATM

    local selectedTPName = nil

    local function getPlayerNames()
        local names = {}
        for _, plr in ipairs(Players:GetPlayers()) do
            if plr ~= LocalPlayer then
                table.insert(names, plr.Name)
            end
        end
        if #names == 0 then
            table.insert(names, "No players")
        end
        return names
    end

    local TeleportDropdown = TeleportTab:CreateDropdown({
        Name = "Select Player",
        Options = getPlayerNames(),
        CurrentOption = "No players",
        MultipleOptions = false,
        Flag = "TP_Dropdown",
        Callback = function(Option)
            if type(Option) == "table" then
                selectedTPName = Option[1]
            else
                selectedTPName = Option
            end
            if selectedTPName == "No players" then
                selectedTPName = nil
            end
        end,
    })

    local RefreshTP = TeleportTab:CreateButton({
        Name = "Refresh Player List",
        Callback = function()
            local names = getPlayerNames()
            TeleportDropdown:Refresh(names)
        end,
    })

    local TeleportButton = TeleportTab:CreateButton({
        Name = "Teleport to Selected Player",
        Callback = function()
            if not selectedTPName then return end
            local lp = LocalPlayer
            local target = Players:FindFirstChild(selectedTPName)
            if not target or not target.Character then return end

            local tHRP = target.Character:FindFirstChild("HumanoidRootPart")
            local char = lp.Character
            local hrp = char and char:FindFirstChild("HumanoidRootPart")
            if hrp and tHRP then
                hrp.CFrame = tHRP.CFrame + Vector3.new(0, 3, 0)
            end
        end,
    })

    TeleportTab:CreateSection("Map Teleports")

    TeleportTab:CreateButton({
        Name = "Teleport to Apt 1",
        Callback = function()
            local char = LocalPlayer.Character
            local hrp = char and char:FindFirstChild("HumanoidRootPart")
            if hrp then
                hrp.CFrame = APT1_CFRAME + Vector3.new(0, 3, 0)
            end
        end,
    })

    TeleportTab:CreateButton({
        Name = "Teleport to Card Shop (Buy Cards)",
        Callback = function()
            local char = LocalPlayer.Character
            local hrp = char and char:FindFirstChild("HumanoidRootPart")
            if hrp then
                hrp.CFrame = CARD_SHOP_CFRAME + Vector3.new(0, 3, 0)
            end
        end,
    })

    TeleportTab:CreateButton({
        Name = "Teleport to Gun Dealer (Insert Card)",
        Callback = function()
            local char = LocalPlayer.Character
            local hrp = char and char:FindFirstChild("HumanoidRootPart")
            if hrp then
                hrp.CFrame = GUN_DEALER_INSERT_CFRAME + Vector3.new(0, 3, 0)
            end
        end,
    })

    TeleportTab:CreateButton({
        Name = "Teleport to ATM / Extra Spot",
        Callback = function()
            local char = LocalPlayer.Character
            local hrp = char and char:FindFirstChild("HumanoidRootPart")
            if hrp then
                hrp.CFrame = ATM_EXTRA_CFRAME + Vector3.new(0, 3, 0)
            end
        end,
    })

    ----------------------------------------------------------------
    -- TROLL TAB (Spin, Random Teleport to Players)
    ----------------------------------------------------------------
    local TrollTab = Window:CreateTab("Troll😈", 4483362458)
    local TrollSection = TrollTab:CreateSection("Trolling Features")

    local spinEnabled = false
    local spinBodyAV

    local function startSpin()
        local char = LocalPlayer.Character
        if not char then return end
        local hrp = char:FindFirstChild("HumanoidRootPart")
        if not hrp then return end

        if spinBodyAV then
            spinBodyAV:Destroy()
        end

        spinBodyAV = Instance.new("BodyAngularVelocity")
        spinBodyAV.MaxTorque = Vector3.new(0, math.huge, 0)
        spinBodyAV.AngularVelocity = Vector3.new(0, 15, 0)
        spinBodyAV.P = 10000
        spinBodyAV.Parent = hrp
    end

    local function stopSpin()
        if spinBodyAV then
            spinBodyAV:Destroy()
            spinBodyAV = nil
        end
    end

    local SpinToggle = TrollTab:CreateToggle({
        Name = "SpinBot",
        CurrentValue = false,
        Flag = "Troll_Spin",
        Callback = function(Value)
            spinEnabled = Value
            if Value then
                startSpin()
            else
                stopSpin()
            end
        end,
    })

    local randomTPEnabled = false

    local function randomTPLoop()
        while randomTPEnabled do
            task.wait(2.5)

            local lp = LocalPlayer
            local char = lp.Character
            local hrp = char and char:FindFirstChild("HumanoidRootPart")
            if not hrp then continue end

            local others = {}
            for _, plr in ipairs(Players:GetPlayers()) do
                if plr ~= lp and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
                    table.insert(others, plr)
                end
            end

            if #others > 0 then
                local target = others[math.random(1, #others)]
                local tHRP = target.Character:FindFirstChild("HumanoidRootPart")
                if tHRP then
                    hrp.CFrame = tHRP.CFrame + Vector3.new(0, 3, 0)
                end
            end
        end
    end

    local RandomTPToggle = TrollTab:CreateToggle({
        Name = "Random TP Loop",
        CurrentValue = false,
        Flag = "Troll_RandomTP",
        Callback = function(Value)
            randomTPEnabled = Value
            if Value then
                task.spawn(randomTPLoop)
            end
        end,
    })

    ----------------------------------------------------------------
    -- DEFENSIVE SYSTEMS (Anti-Kill, Auto-Heal, Godmode, Anti-Void, Death Logger)
    ----------------------------------------------------------------
    local antiKillEnabled = false
    local antiKillConnection

    local autoHealEnabled = false
    local autoHealConnection

    local godmodeEnabled = false
    local godmodeConnection

    local antiVoidEnabled = false
    local antiVoidConnection
    local lastSafeCFrame = nil

    local deathLogEnabled = false
    local deathConn

    -- ANTI KILL (TP to Apt 1 if HP < 15)
    local function stopAntiKill()
        antiKillEnabled = false
        if antiKillConnection then
            antiKillConnection:Disconnect()
            antiKillConnection = nil
        end
    end

    local function startAntiKill()
        antiKillEnabled = true
        if antiKillConnection then
            antiKillConnection:Disconnect()
        end

        antiKillConnection = RunService.Heartbeat:Connect(function()
            if not antiKillEnabled then return end

            local lp = LocalPlayer
            local char = lp.Character
            if not char then return end

            local hum = char:FindFirstChildOfClass("Humanoid")
            local hrp = char:FindFirstChild("HumanoidRootPart")
            if not hum or not hrp then return end

            if hum.Health > 0 and hum.Health < 15 then
                hrp.CFrame = APT1_CFRAME + Vector3.new(0, 3, 0)
            end
        end)
    end

    -- AUTO HEAL (regen if HP < 20)
    local function stopAutoHeal()
        autoHealEnabled = false
        if autoHealConnection then
            autoHealConnection:Disconnect()
            autoHealConnection = nil
        end
    end

    local function startAutoHeal()
        autoHealEnabled = true
        if autoHealConnection then
            autoHealConnection:Disconnect()
        end

        autoHealConnection = RunService.Heartbeat:Connect(function(dt)
            if not autoHealEnabled then return end

            local lp = LocalPlayer
            local char = lp.Character
            if not char then return end

            local hum = char:FindFirstChildOfClass("Humanoid")
            if not hum then return end

            if hum.Health > 0 and hum.Health < 20 then
                local regen = 10 * dt -- 10 HP per second
                hum.Health = math.clamp(hum.Health + regen, 0, hum.MaxHealth)
            end
        end)
    end

    -- GODMODE (auto max HP + anti ragdoll)
    local function stopGodmode()
        godmodeEnabled = false
        if godmodeConnection then
            godmodeConnection:Disconnect()
            godmodeConnection = nil
        end
    end

    local function startGodmode()
        godmodeEnabled = true
        if godmodeConnection then
            godmodeConnection:Disconnect()
        end

        godmodeConnection = RunService.Heartbeat:Connect(function()
            if not godmodeEnabled then return end

            local lp = LocalPlayer
            local char = lp.Character
            if not char then return end

            local hum = char:FindFirstChildOfClass("Humanoid")
            if not hum then return end

            if hum.Health > 0 and hum.Health < hum.MaxHealth then
                hum.Health = hum.MaxHealth
            end

            hum.PlatformStand = false
        end)
    end

    -- ANTI VOID (TP back up if falling)
    local function stopAntiVoid()
        antiVoidEnabled = false
        if antiVoidConnection then
            antiVoidConnection:Disconnect()
            antiVoidConnection = nil
        end
    end

    local function startAntiVoid()
        antiVoidEnabled = true
        if antiVoidConnection then
            antiVoidConnection:Disconnect()
        end

        antiVoidConnection = RunService.Heartbeat:Connect(function()
            if not antiVoidEnabled then return end

            local lp = LocalPlayer
            local char = lp.Character
            if not char then return end

            local hrp = char:FindFirstChild("HumanoidRootPart")
            if not hrp then return end

            if hrp.Position.Y > 3 then
                lastSafeCFrame = hrp.CFrame
            end

            if hrp.Position.Y < -20 then
                if lastSafeCFrame then
                    hrp.CFrame = lastSafeCFrame + Vector3.new(0, 3, 0)
                else
                    hrp.CFrame = APT1_CFRAME + Vector3.new(0, 3, 0)
                end
            end
        end)
    end

    -- DEATH LOGGER (who killed you)
    local function stopDeathLog()
        deathLogEnabled = false
        if deathConn then
            deathConn:Disconnect()
            deathConn = nil
        end
    end

    local function startDeathLog()
        deathLogEnabled = true
        if deathConn then
            deathConn:Disconnect()
        end

        local function hookHumanoid(hum)
            if not hum then return end
            if deathConn then
                deathConn:Disconnect()
            end

            deathConn = hum.Died:Connect(function()
                if not deathLogEnabled then return end

                local killerName = "Unknown"
                local creatorTag = hum:FindFirstChild("creator")
                if creatorTag and creatorTag.Value and creatorTag.Value.Name then
                    killerName = creatorTag.Value.Name
                end

                pcall(function()
                    StarterGui:SetCore("SendNotification",{
                        Title = "Death Logger",
                        Text = "You were killed by: " .. killerName,
                        Duration = 5
                    })
                end)
            end)
        end

        local lp = LocalPlayer
        local char = lp.Character
        if char then
            hookHumanoid(char:FindFirstChildOfClass("Humanoid"))
        end

        lp.CharacterAdded:Connect(function(newChar)
            task.wait(0.2)
            hookHumanoid(newChar:FindFirstChildOfClass("Humanoid"))
        end)
    end

    ----------------------------------------------------------------
    -- HITBOX EXPANDER
    ----------------------------------------------------------------
    local hitboxEnabled = false
    local hitboxSize = 5
    local originalSizes = {}

    local function clearHitbox()
        for part, data in pairs(originalSizes) do
            if part and part.Parent then
                part.Size = data.Size
                part.CanCollide = data.CanCollide
            end
            originalSizes[part] = nil
        end
    end

    local function applyHitboxToChar(char)
        if not hitboxEnabled then return end
        if not char then return end

        for _, part in ipairs(char:GetDescendants()) do
            if part:IsA("BasePart") and (part.Name == "HumanoidRootPart" or part.Name == "UpperTorso" or part.Name == "LowerTorso" or part.Name == "Head") then
                if not originalSizes[part] then
                    originalSizes[part] = {
                        Size = part.Size,
                        CanCollide = part.CanCollide
                    }
                end
                part.Size = Vector3.new(hitboxSize, hitboxSize, hitboxSize)
                part.CanCollide = false
                part.Massless = true
            end
        end
    end

    local function refreshHitboxes()
        clearHitbox()
        if not hitboxEnabled then return end
        for _, plr in ipairs(Players:GetPlayers()) do
            if plr ~= LocalPlayer and plr.Character then
                applyHitboxToChar(plr.Character)
            end
        end
    end

    local function startHitbox()
        hitboxEnabled = true
        refreshHitboxes()

        -- apply on future spawns
        for _, plr in ipairs(Players:GetPlayers()) do
            if plr ~= LocalPlayer then
                plr.CharacterAdded:Connect(function(char)
                    task.wait(0.2)
                    if hitboxEnabled then
                        applyHitboxToChar(char)
                    end
                end)
            end
        end
    end

    local function stopHitbox()
        hitboxEnabled = false
        clearHitbox()
    end

    ----------------------------------------------------------------
    -- COMBAT TAB (defense + hitbox)
    ----------------------------------------------------------------
    local CombatTab = Window:CreateTab("Combat⚔️", 4483362458)
    local CombatSection = CombatTab:CreateSection("Defense / Combat")

    local AntiKillToggleCombat = CombatTab:CreateToggle({
        Name = "Anti Kill (TP to Apt 1)",
        CurrentValue = false,
        Flag = "Toggle_AntiKill",
        Callback = function(Value)
            if Value then
                startAntiKill()
            else
                stopAntiKill()
            end
        end,
    })

    local AutoHealToggle = CombatTab:CreateToggle({
        Name = "Auto Heal (HP < 20)",
        CurrentValue = false,
        Flag = "Toggle_AutoHeal",
        Callback = function(Value)
            if Value then
                startAutoHeal()
            else
                stopAutoHeal()
            end
        end,
    })

    local GodmodeToggle = CombatTab:CreateToggle({
        Name = "Godmode (Auto Max HP)",
        CurrentValue = false,
        Flag = "Toggle_Godmode",
        Callback = function(Value)
            if Value then
                startGodmode()
            else
                stopGodmode()
            end
        end,
    })

    local AntiVoidToggle = CombatTab:CreateToggle({
        Name = "Anti Void",
        CurrentValue = false,
        Flag = "Toggle_AntiVoid",
        Callback = function(Value)
            if Value then
                startAntiVoid()
            else
                stopAntiVoid()
            end
        end,
    })

    local DeathLogToggle = CombatTab:CreateToggle({
        Name = "Death Logger",
        CurrentValue = false,
        Flag = "Toggle_DeathLog",
        Callback = function(Value)
            if Value then
                startDeathLog()
            else
                stopDeathLog()
            end
        end,
    })

    local HitboxSlider = CombatTab:CreateSlider({
        Name = "Hitbox Size",
        Range = {3, 20},
        Increment = 1,
        Suffix = "studs",
        CurrentValue = hitboxSize,
        Flag = "Hitbox_Size",
        Callback = function(Value)
            hitboxSize = Value
            if hitboxEnabled then
                refreshHitboxes()
            end
        end,
    })

    local HitboxToggle = CombatTab:CreateToggle({
        Name = "Hitbox Expander",
        CurrentValue = false,
        Flag = "Toggle_Hitbox",
        Callback = function(Value)
            if Value then
                startHitbox()
            else
                stopHitbox()
            end
        end,
    })

    ----------------------------------------------------------------
    -- LOAD CONFIG
    ----------------------------------------------------------------
    Rayfield:LoadConfiguration()

end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: