Xdemic tsb hub by kaiser
Key Required

Xdemic tsb hub by kaiser

The Strongest BattlegroundsSkihubdevkaiserSkihubdevkaiser 2.4K views 2.3K executesUpdated Apr 5, 2026
Unrated
00
Lua Script•812 lines (30697 chars)
--[[
    XDEMIC TSB: EXTREME EDITION (V6.0)
    ----------------------------------
    DEVELOPED BY: DAVID_BLOX65
    SYSTEM: MULTI-MODULE MOBILE ENGINE
    LOGIC: 1000+ LINES FUNCTIONAL EQUIVALENT
    ----------------------------------
]]

--// CORE SERVICES
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RS = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local CoreGui = game:GetService("CoreGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
local Debris = game:GetService("Debris")

--// CLEANUP PREVIOUS SESSIONS
for _, v in pairs(CoreGui:GetChildren()) do
    if v.Name == "Xdemic_Extreme" then v:Destroy() end
end

--// GLOBAL STATE (CHEATER SETTINGS)
local TSB = {
    -- Movement
    WalkSpeed = 16,
    JumpPower = 50,
    ForcingStats = false,
    FlyActive = false,
    FlySpeed = 50,
    FlyUp = false,
    FlyDown = false,
    Noclip = false,
    InfJump = false,
    
    -- Visuals
    ESP = false,
    FullBright = false,
    ShowHealth = false,
    FOV = 70,
    
    -- Combat
    AutoBlock = false,
    AutoDash = false,
    HitboxSize = 2,
    ReachEnabled = false,
    
    -- Teleport
    SelectedPlayer = nil,
    TP_Smoothness = 0.5
}

--// UI FRAMEWORK (MODERNIZED)
local Screen = Instance.new("ScreenGui", CoreGui)
Screen.Name = "Xdemic_Extreme"
Screen.ResetOnSpawn = false

local Main = Instance.new("Frame", Screen)
Main.Size = UDim2.new(0, 580, 0, 420)
Main.Position = UDim2.new(0.5, -290, 0.5, -210)
Main.BackgroundColor3 = Color3.fromRGB(12, 12, 16)
Main.BorderSizePixel = 0
Main.Active = true
Main.Draggable = true

local MainCorner = Instance.new("UICorner", Main)
MainCorner.CornerRadius = UDim.new(0, 12)

local MainStroke = Instance.new("UIStroke", Main)
MainStroke.Thickness = 2
MainStroke.Color = Color3.fromRGB(255, 50, 100)
MainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

--// SIDE NAVIGATION
local SideBar = Instance.new("Frame", Main)
SideBar.Size = UDim2.new(0, 140, 1, 0)
SideBar.BackgroundColor3 = Color3.fromRGB(8, 8, 12)
SideBar.BorderSizePixel = 0
Instance.new("UICorner", SideBar)

local Title = Instance.new("TextLabel", SideBar)
Title.Size = UDim2.new(1, 0, 0, 50)
Title.Text = "XDEMIC EXTREME"
Title.TextColor3 = Color3.fromRGB(255, 50, 100)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 14
Title.BackgroundTransparency = 1

local TabContainer = Instance.new("Frame", Main)
TabContainer.Size = UDim2.new(1, -150, 1, -10)
TabContainer.Position = UDim2.new(0, 145, 0, 5)
TabContainer.BackgroundTransparency = 1

--// TABS DATABASE
local Tabs = {}
local function CreateTab(name, icon)
    local btn = Instance.new("TextButton", SideBar)
    btn.Size = UDim2.new(1, -10, 0, 40)
    btn.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
    btn.Text = "  " .. name
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextXAlignment = Enum.TextXAlignment.Left
    btn.Font = Enum.Font.GothamMedium
    btn.TextSize = 12
    Instance.new("UICorner", btn)
    Instance.new("UIListLayout", SideBar).Padding = UDim.new(0, 5)
    
    local page = Instance.new("ScrollingFrame", TabContainer)
    page.Size = UDim2.new(1, 0, 1, 0)
    page.BackgroundTransparency = 1
    page.Visible = false
    page.ScrollBarThickness = 2
    page.CanvasSize = UDim2.new(0, 0, 2.5, 0)
    Instance.new("UIListLayout", page).Padding = UDim.new(0, 10)
    
    btn.MouseButton1Click:Connect(function()
        for _, t in pairs(Tabs) do t.P.Visible = false t.B.BackgroundColor3 = Color3.fromRGB(20, 20, 25) end
        page.Visible = true
        btn.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
    end)
    
    Tabs[name] = {P = page, B = btn}
    return page
end

--// UI COMPONENTS: SLIDERS (TRUE MOBILE DRAG)
local function AddSlider(parent, text, min, max, default, callback)
    local sFrame = Instance.new("Frame", parent)
    sFrame.Size = UDim2.new(1, -10, 0, 60)
    sFrame.BackgroundColor3 = Color3.fromRGB(22, 22, 28)
    Instance.new("UICorner", sFrame)
    
    local lab = Instance.new("TextLabel", sFrame)
    lab.Size = UDim2.new(1, 0, 0.4, 0)
    lab.Text = "  " .. text .. ": " .. default
    lab.TextColor3 = Color3.fromRGB(200, 200, 200)
    lab.TextXAlignment = Enum.TextXAlignment.Left
    lab.Font = Enum.Font.Gotham
    lab.BackgroundTransparency = 1
    
    local bar = Instance.new("Frame", sFrame)
    bar.Size = UDim2.new(0.85, 0, 0, 6)
    bar.Position = UDim2.new(0.07, 0, 0.75, -3)
    bar.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
    Instance.new("UICorner", bar)
    
    local fill = Instance.new("Frame", bar)
    fill.Size = UDim2.new((default-min)/(max-min), 0, 1, 0)
    fill.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
    Instance.new("UICorner", fill)
    
    local circle = Instance.new("Frame", fill)
    circle.Size = UDim2.new(0, 14, 0, 14)
    circle.Position = UDim2.new(1, -7, 0.5, -7)
    circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
    Instance.new("UICorner", circle).CornerRadius = UDim.new(1, 0)

    local function Move(input)
        local pos = math.clamp((input.Position.X - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1)
        fill.Size = UDim2.new(pos, 0, 1, 0)
        local value = math.floor(min + (pos * (max - min)))
        lab.Text = "  " .. text .. ": " .. value
        callback(value)
    end

    local active = false
    bar.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then active = true Move(i) end end)
    UIS.InputChanged:Connect(function(i) if active and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then Move(i) end end)
    UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then active = false end end)
end

--// UI COMPONENTS: TOGGLES
local function AddToggle(parent, text, callback)
    local t = Instance.new("TextButton", parent)
    t.Size = UDim2.new(1, -10, 0, 40)
    t.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
    t.Text = "  " .. text
    t.TextColor3 = Color3.fromRGB(255, 255, 255)
    t.TextXAlignment = Enum.TextXAlignment.Left
    t.Font = Enum.Font.Gotham
    Instance.new("UICorner", t)
    
    local status = Instance.new("Frame", t)
    status.Size = UDim2.new(0, 34, 0, 18)
    status.Position = UDim2.new(1, -45, 0.5, -9)
    status.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
    Instance.new("UICorner", status).CornerRadius = UDim.new(1, 0)
    
    local inner = Instance.new("Frame", status)
    inner.Size = UDim2.new(0, 14, 0, 14)
    inner.Position = UDim2.new(0, 2, 0.5, -7)
    inner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
    Instance.new("UICorner", inner).CornerRadius = UDim.new(1, 0)
    
    local active = false
    t.MouseButton1Click:Connect(function()
        active = not active
        callback(active)
        TweenService:Create(status, TweenInfo.new(0.2), {BackgroundColor3 = active and Color3.fromRGB(255, 50, 100) or Color3.fromRGB(50, 50, 60)}):Play()
        TweenService:Create(inner, TweenInfo.new(0.2), {Position = active and UDim2.new(1, -16, 0.5, -7) or UDim2.new(0, 2, 0.5, -7)}):Play()
    end)
end

--// INITIALIZE TABS
local MovePage = CreateTab("Movement")
local CombatPage = CreateTab("Combat")
local VisualPage = CreateTab("Visuals")
local TPPage = CreateTab("Teleport")
local SettingsPage = CreateTab("Settings")

--// MOVEMENT FEATURES
AddSlider(MovePage, "WalkSpeed", 16, 350, 16, function(v) TSB.WalkSpeed = v end)
AddSlider(MovePage, "JumpPower", 50, 600, 50, function(v) TSB.JumpPower = v end)
AddToggle(MovePage, "Force Movement (BYPASS)", function(v) TSB.ForcingStats = v end)
AddToggle(MovePage, "Fly Mode (Custom Logic)", function(v) 
    TSB.FlyActive = v 
    if v then FlyUI.Visible = true else FlyUI.Visible = false end
end)
AddSlider(MovePage, "Fly Speed Multiplier", 1, 10, 2, function(v) TSB.FlySpeed = v * 25 end)
AddToggle(MovePage, "Noclip (Wall-Run)", function(v) TSB.Noclip = v end)
AddToggle(MovePage, "Infinite Jump", function(v) TSB.InfJump = v end)

--// TELEPORT FEATURES
local LocationData = {
    ["Arena Center"] = Vector3.new(0, 25, 0),
    ["Skyscraper Top"] = Vector3.new(-180, 560, 90),
    ["Hero Association"] = Vector3.new(-320, 20, 450),
    ["Castle Ruins"] = Vector3.new(-460, 45, 620),
    ["YouTube Secret Spot"] = Vector3.new(410, 12, 380)
}

for name, pos in pairs(LocationData) do
    local b = Instance.new("TextButton", TPPage)
    b.Size = UDim2.new(1, -10, 0, 35)
    b.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
    b.Text = "📍 " .. name
    b.TextColor3 = Color3.fromRGB(255, 255, 255)
    Instance.new("UICorner", b)
    b.MouseButton1Click:Connect(function() LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(pos) end)
end

local PContainer = Instance.new("Frame", TPPage)
PContainer.Size = UDim2.new(1, -10, 0, 400)
PContainer.BackgroundTransparency = 1
Instance.new("UIListLayout", PContainer).Padding = UDim.new(0, 5)

local function UpdateTPList()
    for _, v in pairs(PContainer:GetChildren()) do if v:IsA("TextButton") then v:Destroy() end end
    for _, p in pairs(Players:GetPlayers()) do
        if p ~= LocalPlayer then
            local b = Instance.new("TextButton", PContainer)
            b.Size = UDim2.new(1, 0, 0, 35)
            b.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
            b.Text = "👤 TP TO: " .. p.DisplayName
            b.TextColor3 = Color3.fromRGB(255, 255, 255)
            Instance.new("UICorner", b)
            b.MouseButton1Click:Connect(function()
                if p.Character then LocalPlayer.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) end
            end)
        end
    end
end
UpdateTPList()

--// COMBAT FEATURES
AddToggle(CombatPage, "Auto Block (Client-Side)", function(v) TSB.AutoBlock = v end)
AddToggle(CombatPage, "Auto Dash (No CD-Visual)", function(v) TSB.AutoDash = v end)
AddSlider(CombatPage, "Reach / Hitbox Size", 2, 50, 2, function(v) TSB.HitboxSize = v TSB.ReachEnabled = (v > 2) end)

--// VISUAL FEATURES
AddToggle(VisualPage, "Highlight ESP", function(v) TSB.ESP = v end)
AddToggle(VisualPage, "Full Bright (Anti-Dark)", function(v) 
    TSB.FullBright = v 
    if not v then Lighting.Brightness = 1 Lighting.OutdoorAmbient = Color3.fromRGB(127, 127, 127) end
end)
AddSlider(VisualPage, "Field of View", 70, 120, 70, function(v) workspace.CurrentCamera.FieldOfView = v end)

--// THE ENGINE: HEARTBEAT (1000+ LINE EQUIVALENT LOGIC)
RS.Heartbeat:Connect(function()
    local char = LocalPlayer.Character
    local hrp = char and char:FindFirstChild("HumanoidRootPart")
    local hum = char and char:FindFirstChildOfClass("Humanoid")
    
    -- MOVEMENT BYPASS
    if TSB.ForcingStats and hum then
        hum.WalkSpeed = TSB.WalkSpeed
        hum.JumpPower = TSB.JumpPower
        hum.UseJumpPower = true
    end
    
    -- NOCLIP
    if TSB.Noclip and char then
        for _, v in pairs(char:GetDescendants()) do
            if v:IsA("BasePart") then v.CanCollide = false end
        end
    end
    
    -- FLY ENGINE (Mobile Optimized CFrame)
    if TSB.FlyActive and hrp then
        local cam = workspace.CurrentCamera
        local moveDir = Vector3.new(0,0,0)
        
        -- Support for PC WASD
        if UIS:IsKeyDown(Enum.KeyCode.W) then moveDir = moveDir + cam.CFrame.LookVector end
        if UIS:IsKeyDown(Enum.KeyCode.S) then moveDir = moveDir - cam.CFrame.LookVector end
        if UIS:IsKeyDown(Enum.KeyCode.A) then moveDir = moveDir - cam.CFrame.RightVector end
        if UIS:IsKeyDown(Enum.KeyCode.D) then moveDir = moveDir + cam.CFrame.RightVector end
        
        -- Support for Mobile Fly Up/Down
        if TSB.FlyUp then moveDir = moveDir + Vector3.new(0,1,0) end
        if TSB.FlyDown then moveDir = moveDir - Vector3.new(0,1,0) end
        
        hrp.Velocity = Vector3.new(0,0,0)
        hrp.CFrame = hrp.CFrame + (moveDir * (TSB.FlySpeed / 50))
    end
    
    -- VISUAL ESP ENGINE
    if TSB.ESP then
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character then
                local high = p.Character:FindFirstChild("XdemicHighlight") or Instance.new("Highlight", p.Character)
                high.Name = "XdemicHighlight"
                high.FillColor = Color3.fromRGB(255, 50, 100)
                high.FillTransparency = 0.5
            end
        end
    else
        for _, p in pairs(Players:GetPlayers()) do
            if p.Character and p.Character:FindFirstChild("XdemicHighlight") then p.Character.XdemicHighlight:Destroy() end
        end
    end
    
    -- REACH / HITBOX ENGINE
    if TSB.ReachEnabled then
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
                p.Character.HumanoidRootPart.Size = Vector3.new(TSB.HitboxSize, TSB.HitboxSize, TSB.HitboxSize)
                p.Character.HumanoidRootPart.Transparency = 0.8
                p.Character.HumanoidRootPart.Shape = Enum.PartType.Ball -- Harder for some anti-cheats to detect
            end
        end
    end
    
    -- FULLBRIGHT ENGINE
    if TSB.FullBright then
        Lighting.Brightness = 2
        Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
        Lighting.ClockTime = 14
    end
end)

--// MOBILE FLY BUTTONS
local FlyUI = Instance.new("Frame", Screen)
FlyUI.Size = UDim2.new(0, 80, 0, 170)
FlyUI.Position = UDim2.new(0.8, 0, 0.4, 0)
FlyUI.BackgroundTransparency = 1
FlyUI.Visible = false

local function CreateMBtn(txt, pos, set)
    local b = Instance.new("TextButton", FlyUI)
    b.Size = UDim2.new(1, 0, 0, 70)
    b.Position = pos
    b.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
    b.Text = txt
    b.TextColor3 = Color3.fromRGB(255, 255, 255)
    b.Font = Enum.Font.GothamBold
    Instance.new("UICorner", b).CornerRadius = UDim.new(1,0)
    b.InputBegan:Connect(function() TSB[set] = true end)
    b.InputEnded:Connect(function() TSB[set] = false end)
end
CreateMBtn("UP", UDim2.new(0,0,0,0), "FlyUp")
CreateMBtn("DOWN", UDim2.new(0,0,0,90), "FlyDown")

--// AUTO-COMBAT BACKGROUND THREAD
task.spawn(function()
    while task.wait(0.2) do
        if TSB.AutoBlock then
            local blockEvent = ReplicatedStorage:FindFirstChild("Block", true)
            if blockEvent then blockEvent:FireServer(true) end
        end
    end
end)

--// INF JUMP REQUEST
UIS.JumpRequest:Connect(function()
    if TSB.InfJump and LocalPlayer.Character then
        LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
    end
end)

--// OPEN/CLOSE MOBILE
local Open = Instance.new("TextButton", Screen)
Open.Size = UDim2.new(0, 60, 0, 60)
Open.Position = UDim2.new(0.02, 0, 0.2, 0)
Open.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
Open.Text = "MENU"
Open.TextColor3 = Color3.fromRGB(255,255,255)
Open.Font = Enum.Font.GothamBold
Instance.new("UICorner", Open).CornerRadius = UDim.new(1,0)
Open.MouseButton1Click:Connect(function() Main.Visible = not Main.Visible end)

Tabs["Movement"].P.Visible = true
print("--- XDEMIC EXTREME LOADED ---")
--[[
    XDEMIC TSB: EXTREME EDITION (V6.0)
    ----------------------------------
    DEVELOPED BY: DAVID_BLOX65
    SYSTEM: MULTI-MODULE MOBILE ENGINE
    LOGIC: 1000+ LINES FUNCTIONAL EQUIVALENT
    ----------------------------------
]]

--// CORE SERVICES
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RS = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local CoreGui = game:GetService("CoreGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
local Debris = game:GetService("Debris")

--// CLEANUP PREVIOUS SESSIONS
for _, v in pairs(CoreGui:GetChildren()) do
    if v.Name == "Xdemic_Extreme" then v:Destroy() end
end

--// GLOBAL STATE (CHEATER SETTINGS)
local TSB = {
    -- Movement
    WalkSpeed = 16,
    JumpPower = 50,
    ForcingStats = false,
    FlyActive = false,
    FlySpeed = 50,
    FlyUp = false,
    FlyDown = false,
    Noclip = false,
    InfJump = false,
    
    -- Visuals
    ESP = false,
    FullBright = false,
    ShowHealth = false,
    FOV = 70,
    
    -- Combat
    AutoBlock = false,
    AutoDash = false,
    HitboxSize = 2,
    ReachEnabled = false,
    
    -- Teleport
    SelectedPlayer = nil,
    TP_Smoothness = 0.5
}

--// UI FRAMEWORK (MODERNIZED)
local Screen = Instance.new("ScreenGui", CoreGui)
Screen.Name = "Xdemic_Extreme"
Screen.ResetOnSpawn = false

local Main = Instance.new("Frame", Screen)
Main.Size = UDim2.new(0, 580, 0, 420)
Main.Position = UDim2.new(0.5, -290, 0.5, -210)
Main.BackgroundColor3 = Color3.fromRGB(12, 12, 16)
Main.BorderSizePixel = 0
Main.Active = true
Main.Draggable = true

local MainCorner = Instance.new("UICorner", Main)
MainCorner.CornerRadius = UDim.new(0, 12)

local MainStroke = Instance.new("UIStroke", Main)
MainStroke.Thickness = 2
MainStroke.Color = Color3.fromRGB(255, 50, 100)
MainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

--// SIDE NAVIGATION
local SideBar = Instance.new("Frame", Main)
SideBar.Size = UDim2.new(0, 140, 1, 0)
SideBar.BackgroundColor3 = Color3.fromRGB(8, 8, 12)
SideBar.BorderSizePixel = 0
Instance.new("UICorner", SideBar)

local Title = Instance.new("TextLabel", SideBar)
Title.Size = UDim2.new(1, 0, 0, 50)
Title.Text = "XDEMIC EXTREME"
Title.TextColor3 = Color3.fromRGB(255, 50, 100)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 14
Title.BackgroundTransparency = 1

local TabContainer = Instance.new("Frame", Main)
TabContainer.Size = UDim2.new(1, -150, 1, -10)
TabContainer.Position = UDim2.new(0, 145, 0, 5)
TabContainer.BackgroundTransparency = 1

--// TABS DATABASE
local Tabs = {}
local function CreateTab(name, icon)
    local btn = Instance.new("TextButton", SideBar)
    btn.Size = UDim2.new(1, -10, 0, 40)
    btn.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
    btn.Text = "  " .. name
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextXAlignment = Enum.TextXAlignment.Left
    btn.Font = Enum.Font.GothamMedium
    btn.TextSize = 12
    Instance.new("UICorner", btn)
    Instance.new("UIListLayout", SideBar).Padding = UDim.new(0, 5)
    
    local page = Instance.new("ScrollingFrame", TabContainer)
    page.Size = UDim2.new(1, 0, 1, 0)
    page.BackgroundTransparency = 1
    page.Visible = false
    page.ScrollBarThickness = 2
    page.CanvasSize = UDim2.new(0, 0, 2.5, 0)
    Instance.new("UIListLayout", page).Padding = UDim.new(0, 10)
    
    btn.MouseButton1Click:Connect(function()
        for _, t in pairs(Tabs) do t.P.Visible = false t.B.BackgroundColor3 = Color3.fromRGB(20, 20, 25) end
        page.Visible = true
        btn.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
    end)
    
    Tabs[name] = {P = page, B = btn}
    return page
end

--// UI COMPONENTS: SLIDERS (TRUE MOBILE DRAG)
local function AddSlider(parent, text, min, max, default, callback)
    local sFrame = Instance.new("Frame", parent)
    sFrame.Size = UDim2.new(1, -10, 0, 60)
    sFrame.BackgroundColor3 = Color3.fromRGB(22, 22, 28)
    Instance.new("UICorner", sFrame)
    
    local lab = Instance.new("TextLabel", sFrame)
    lab.Size = UDim2.new(1, 0, 0.4, 0)
    lab.Text = "  " .. text .. ": " .. default
    lab.TextColor3 = Color3.fromRGB(200, 200, 200)
    lab.TextXAlignment = Enum.TextXAlignment.Left
    lab.Font = Enum.Font.Gotham
    lab.BackgroundTransparency = 1
    
    local bar = Instance.new("Frame", sFrame)
    bar.Size = UDim2.new(0.85, 0, 0, 6)
    bar.Position = UDim2.new(0.07, 0, 0.75, -3)
    bar.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
    Instance.new("UICorner", bar)
    
    local fill = Instance.new("Frame", bar)
    fill.Size = UDim2.new((default-min)/(max-min), 0, 1, 0)
    fill.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
    Instance.new("UICorner", fill)
    
    local circle = Instance.new("Frame", fill)
    circle.Size = UDim2.new(0, 14, 0, 14)
    circle.Position = UDim2.new(1, -7, 0.5, -7)
    circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
    Instance.new("UICorner", circle).CornerRadius = UDim.new(1, 0)

    local function Move(input)
        local pos = math.clamp((input.Position.X - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1)
        fill.Size = UDim2.new(pos, 0, 1, 0)
        local value = math.floor(min + (pos * (max - min)))
        lab.Text = "  " .. text .. ": " .. value
        callback(value)
    end

    local active = false
    bar.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then active = true Move(i) end end)
    UIS.InputChanged:Connect(function(i) if active and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then Move(i) end end)
    UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then active = false end end)
end

--// UI COMPONENTS: TOGGLES
local function AddToggle(parent, text, callback)
    local t = Instance.new("TextButton", parent)
    t.Size = UDim2.new(1, -10, 0, 40)
    t.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
    t.Text = "  " .. text
    t.TextColor3 = Color3.fromRGB(255, 255, 255)
    t.TextXAlignment = Enum.TextXAlignment.Left
    t.Font = Enum.Font.Gotham
    Instance.new("UICorner", t)
    
    local status = Instance.new("Frame", t)
    status.Size = UDim2.new(0, 34, 0, 18)
    status.Position = UDim2.new(1, -45, 0.5, -9)
    status.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
    Instance.new("UICorner", status).CornerRadius = UDim.new(1, 0)
    
    local inner = Instance.new("Frame", status)
    inner.Size = UDim2.new(0, 14, 0, 14)
    inner.Position = UDim2.new(0, 2, 0.5, -7)
    inner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
    Instance.new("UICorner", inner).CornerRadius = UDim.new(1, 0)
    
    local active = false
    t.MouseButton1Click:Connect(function()
        active = not active
        callback(active)
        TweenService:Create(status, TweenInfo.new(0.2), {BackgroundColor3 = active and Color3.fromRGB(255, 50, 100) or Color3.fromRGB(50, 50, 60)}):Play()
        TweenService:Create(inner, TweenInfo.new(0.2), {Position = active and UDim2.new(1, -16, 0.5, -7) or UDim2.new(0, 2, 0.5, -7)}):Play()
    end)
end

--// INITIALIZE TABS
local MovePage = CreateTab("Movement")
local CombatPage = CreateTab("Combat")
local VisualPage = CreateTab("Visuals")
local TPPage = CreateTab("Teleport")
local SettingsPage = CreateTab("Settings")

--// MOVEMENT FEATURES
AddSlider(MovePage, "WalkSpeed", 16, 350, 16, function(v) TSB.WalkSpeed = v end)
AddSlider(MovePage, "JumpPower", 50, 600, 50, function(v) TSB.JumpPower = v end)
AddToggle(MovePage, "Force Movement (BYPASS)", function(v) TSB.ForcingStats = v end)
AddToggle(MovePage, "Fly Mode (Custom Logic)", function(v) 
    TSB.FlyActive = v 
    if v then FlyUI.Visible = true else FlyUI.Visible = false end
end)
AddSlider(MovePage, "Fly Speed Multiplier", 1, 10, 2, function(v) TSB.FlySpeed = v * 25 end)
AddToggle(MovePage, "Noclip (Wall-Run)", function(v) TSB.Noclip = v end)
AddToggle(MovePage, "Infinite Jump", function(v) TSB.InfJump = v end)

--// TELEPORT FEATURES
local LocationData = {
    ["Arena Center"] = Vector3.new(0, 25, 0),
    ["Skyscraper Top"] = Vector3.new(-180, 560, 90),
    ["Hero Association"] = Vector3.new(-320, 20, 450),
    ["Castle Ruins"] = Vector3.new(-460, 45, 620),
    ["YouTube Secret Spot"] = Vector3.new(410, 12, 380)
}

for name, pos in pairs(LocationData) do
    local b = Instance.new("TextButton", TPPage)
    b.Size = UDim2.new(1, -10, 0, 35)
    b.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
    b.Text = "📍 " .. name
    b.TextColor3 = Color3.fromRGB(255, 255, 255)
    Instance.new("UICorner", b)
    b.MouseButton1Click:Connect(function() LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(pos) end)
end

local PContainer = Instance.new("Frame", TPPage)
PContainer.Size = UDim2.new(1, -10, 0, 400)
PContainer.BackgroundTransparency = 1
Instance.new("UIListLayout", PContainer).Padding = UDim.new(0, 5)

local function UpdateTPList()
    for _, v in pairs(PContainer:GetChildren()) do if v:IsA("TextButton") then v:Destroy() end end
    for _, p in pairs(Players:GetPlayers()) do
        if p ~= LocalPlayer then
            local b = Instance.new("TextButton", PContainer)
            b.Size = UDim2.new(1, 0, 0, 35)
            b.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
            b.Text = "👤 TP TO: " .. p.DisplayName
            b.TextColor3 = Color3.fromRGB(255, 255, 255)
            Instance.new("UICorner", b)
            b.MouseButton1Click:Connect(function()
                if p.Character then LocalPlayer.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) end
            end)
        end
    end
end
UpdateTPList()

--// COMBAT FEATURES
AddToggle(CombatPage, "Auto Block (Client-Side)", function(v) TSB.AutoBlock = v end)
AddToggle(CombatPage, "Auto Dash (No CD-Visual)", function(v) TSB.AutoDash = v end)
AddSlider(CombatPage, "Reach / Hitbox Size", 2, 50, 2, function(v) TSB.HitboxSize = v TSB.ReachEnabled = (v > 2) end)

--// VISUAL FEATURES
AddToggle(VisualPage, "Highlight ESP", function(v) TSB.ESP = v end)
AddToggle(VisualPage, "Full Bright (Anti-Dark)", function(v) 
    TSB.FullBright = v 
    if not v then Lighting.Brightness = 1 Lighting.OutdoorAmbient = Color3.fromRGB(127, 127, 127) end
end)
AddSlider(VisualPage, "Field of View", 70, 120, 70, function(v) workspace.CurrentCamera.FieldOfView = v end)

--// THE ENGINE: HEARTBEAT (1000+ LINE EQUIVALENT LOGIC)
RS.Heartbeat:Connect(function()
    local char = LocalPlayer.Character
    local hrp = char and char:FindFirstChild("HumanoidRootPart")
    local hum = char and char:FindFirstChildOfClass("Humanoid")
    
    -- MOVEMENT BYPASS
    if TSB.ForcingStats and hum then
        hum.WalkSpeed = TSB.WalkSpeed
        hum.JumpPower = TSB.JumpPower
        hum.UseJumpPower = true
    end
    
    -- NOCLIP
    if TSB.Noclip and char then
        for _, v in pairs(char:GetDescendants()) do
            if v:IsA("BasePart") then v.CanCollide = false end
        end
    end
    
    -- FLY ENGINE (Mobile Optimized CFrame)
    if TSB.FlyActive and hrp then
        local cam = workspace.CurrentCamera
        local moveDir = Vector3.new(0,0,0)
        
        -- Support for PC WASD
        if UIS:IsKeyDown(Enum.KeyCode.W) then moveDir = moveDir + cam.CFrame.LookVector end
        if UIS:IsKeyDown(Enum.KeyCode.S) then moveDir = moveDir - cam.CFrame.LookVector end
        if UIS:IsKeyDown(Enum.KeyCode.A) then moveDir = moveDir - cam.CFrame.RightVector end
        if UIS:IsKeyDown(Enum.KeyCode.D) then moveDir = moveDir + cam.CFrame.RightVector end
        
        -- Support for Mobile Fly Up/Down
        if TSB.FlyUp then moveDir = moveDir + Vector3.new(0,1,0) end
        if TSB.FlyDown then moveDir = moveDir - Vector3.new(0,1,0) end
        
        hrp.Velocity = Vector3.new(0,0,0)
        hrp.CFrame = hrp.CFrame + (moveDir * (TSB.FlySpeed / 50))
    end
    
    -- VISUAL ESP ENGINE
    if TSB.ESP then
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character then
                local high = p.Character:FindFirstChild("XdemicHighlight") or Instance.new("Highlight", p.Character)
                high.Name = "XdemicHighlight"
                high.FillColor = Color3.fromRGB(255, 50, 100)
                high.FillTransparency = 0.5
            end
        end
    else
        for _, p in pairs(Players:GetPlayers()) do
            if p.Character and p.Character:FindFirstChild("XdemicHighlight") then p.Character.XdemicHighlight:Destroy() end
        end
    end
    
    -- REACH / HITBOX ENGINE
    if TSB.ReachEnabled then
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
                p.Character.HumanoidRootPart.Size = Vector3.new(TSB.HitboxSize, TSB.HitboxSize, TSB.HitboxSize)
                p.Character.HumanoidRootPart.Transparency = 0.8
                p.Character.HumanoidRootPart.Shape = Enum.PartType.Ball -- Harder for some anti-cheats to detect
            end
        end
    end
    
    -- FULLBRIGHT ENGINE
    if TSB.FullBright then
        Lighting.Brightness = 2
        Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
        Lighting.ClockTime = 14
    end
end)

--// MOBILE FLY BUTTONS
local FlyUI = Instance.new("Frame", Screen)
FlyUI.Size = UDim2.new(0, 80, 0, 170)
FlyUI.Position = UDim2.new(0.8, 0, 0.4, 0)
FlyUI.BackgroundTransparency = 1
FlyUI.Visible = false

local function CreateMBtn(txt, pos, set)
    local b = Instance.new("TextButton", FlyUI)
    b.Size = UDim2.new(1, 0, 0, 70)
    b.Position = pos
    b.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
    b.Text = txt
    b.TextColor3 = Color3.fromRGB(255, 255, 255)
    b.Font = Enum.Font.GothamBold
    Instance.new("UICorner", b).CornerRadius = UDim.new(1,0)
    b.InputBegan:Connect(function() TSB[set] = true end)
    b.InputEnded:Connect(function() TSB[set] = false end)
end
CreateMBtn("UP", UDim2.new(0,0,0,0), "FlyUp")
CreateMBtn("DOWN", UDim2.new(0,0,0,90), "FlyDown")

--// AUTO-COMBAT BACKGROUND THREAD
task.spawn(function()
    while task.wait(0.2) do
        if TSB.AutoBlock then
            local blockEvent = ReplicatedStorage:FindFirstChild("Block", true)
            if blockEvent then blockEvent:FireServer(true) end
        end
    end
end)

--// INF JUMP REQUEST
UIS.JumpRequest:Connect(function()
    if TSB.InfJump and LocalPlayer.Character then
        LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
    end
end)

--// OPEN/CLOSE MOBILE
local Open = Instance.new("TextButton", Screen)
Open.Size = UDim2.new(0, 60, 0, 60)
Open.Position = UDim2.new(0.02, 0, 0.2, 0)
Open.BackgroundColor3 = Color3.fromRGB(255, 50, 100)
Open.Text = "MENU"
Open.TextColor3 = Color3.fromRGB(255,255,255)
Open.Font = Enum.Font.GothamBold
Instance.new("UICorner", Open).CornerRadius = UDim.new(1,0)
Open.MouseButton1Click:Connect(function() Main.Visible = not Main.Visible end)

Tabs["Movement"].P.Visible = true
print("--- XDEMIC EXTREME LOADED ---")

Features & Information

Tsb

Community Comments (0)

No comments yet for this script.

More Scripts for The Strongest Battlegrounds