WINDOW XP HUB
Key RequiredUniversal

WINDOW XP HUB

Universal ScriptIdkYayayayaIdkYayayaya 4K views 1.4K executesUpdated Sep 7, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•237 lines (7770 chars)
-- Windows XP Style Delta Script v2
-- Full XP "Run As" look + working mobile Fly + fixable startup sound

-- Services
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

-- ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "WinXPHub"
gui.Parent = game.CoreGui

-- Drag Function
local function makeDraggable(frame)
    local dragging, dragInput, dragStart, startPos
    frame.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or
           input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then
                    dragging = false
                end
            end)
        end
    end)
    frame.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or
           input.UserInputType == Enum.UserInputType.Touch then
            dragInput = input
        end
    end)
    RunService.RenderStepped:Connect(function()
        if dragging and dragInput then
            local delta = dragInput.Position - dragStart
            frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
                                       startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        end
    end)
end

-- Main Frame (XP Cream background)
local main = Instance.new("Frame")
main.Size = UDim2.new(0, 340, 0, 400) -- increased height to fit all buttons
main.Position = UDim2.new(0.3, 0, 0.3, 0)
main.BackgroundColor3 = Color3.fromRGB(236, 233, 216)
main.BorderSizePixel = 2
main.Parent = gui
makeDraggable(main)

-- Title Bar (XP Blue)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -30, 0, 25)
title.BackgroundColor3 = Color3.fromRGB(0, 84, 227)
title.Text = "Executinh: Windows Hub" -- default text
title.TextColor3 = Color3.fromRGB(255,255,255)
title.Font = Enum.Font.ArialBold
title.TextSize = 14
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = main

-- Function to update the title dynamically
local function updateTitle(action)
    title.Text = "Executinh: " .. action
end

-- Minimize button (separate, but tracks hub)
local minimize = Instance.new("TextButton")
minimize.Size = UDim2.new(0, 30, 0, 25)
minimize.Text = "_"
minimize.TextSize = 18
minimize.BackgroundColor3 = Color3.fromRGB(200,200,200)
minimize.Parent = gui

-- Track hub corner
RunService.RenderStepped:Connect(function()
    if main.Visible then
        minimize.Position = UDim2.new(0, main.AbsolutePosition.X + main.AbsoluteSize.X - 30,
                                      0, main.AbsolutePosition.Y)
    end
end)

local minimized = false
minimize.MouseButton1Click:Connect(function()
    minimized = not minimized
    main.Visible = not minimized
    if minimized then
        minimize.Text = "□" -- restore symbol
        minimize.Position = UDim2.new(0, main.AbsolutePosition.X + main.AbsoluteSize.X - 30,
                                      0, main.AbsolutePosition.Y)
    else
        minimize.Text = "_" -- minimize symbol
    end
end)

-- Startup message
local msg = Instance.new("TextLabel")
msg.Size = UDim2.new(1, -10, 0, 50)
msg.Position = UDim2.new(0, 5, 0, 35)
msg.Text = "Follow Windowler For VERSION 2!"
msg.TextColor3 = Color3.fromRGB(0,0,0)
msg.Font = Enum.Font.ArialBold
msg.TextSize = 16
msg.BackgroundTransparency = 1
msg.Parent = main

task.wait(3)
msg:Destroy()

-- XP style button function with dynamic title update
local function makeButton(text, order, callback)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0.9, 0, 0, 30)
    btn.Position = UDim2.new(0.05, 0, 0, 40 + order*35)
    btn.Text = text
    btn.TextSize = 14
    btn.Font = Enum.Font.Arial
    btn.TextColor3 = Color3.fromRGB(0,0,0)
    btn.BackgroundColor3 = Color3.fromRGB(240,240,240)
    btn.BorderColor3 = Color3.fromRGB(128,128,128)
    btn.Parent = main
    btn.MouseButton1Click:Connect(function()
        updateTitle(text) -- updates the title bar with the button name
        callback()
    end)
end

-- Functions
makeButton("Tp to Random", 1, function()
    local players = Players:GetPlayers()
    if #players > 1 then
        local target = players[math.random(1, #players)]
        if target ~= LocalPlayer then
            LocalPlayer.Character:MoveTo(target.Character.HumanoidRootPart.Position + Vector3.new(2,0,2))
        end
    end
end)

-- Mobile Fly (swim style)
local flying = false
makeButton("Fly", 2, function()
    flying = not flying
    local char = LocalPlayer.Character
    local hum = char:FindFirstChildOfClass("Humanoid")
    if flying then
        hum:ChangeState(Enum.HumanoidStateType.Swimming)
        local speed = 60
        RunService.RenderStepped:Connect(function()
            if flying and char and char:FindFirstChild("HumanoidRootPart") then
                local moveDir = hum.MoveDirection
                char.HumanoidRootPart.Velocity = moveDir * speed
            end
        end)
    else
        hum:ChangeState(Enum.HumanoidStateType.Running)
        char.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
    end
end)

makeButton("Inf Jump", 3, function()
    UIS.JumpRequest:Connect(function()
        LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping")
    end)
end)

makeButton("Speed Boost", 4, function()
    LocalPlayer.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 100
end)

makeButton("Noclip", 5, function()
    RunService.Stepped:Connect(function()
        for _,v in pairs(LocalPlayer.Character:GetDescendants()) do
            if v:IsA("BasePart") then
                v.CanCollide = false
            end
        end
    end)
end)

-- New Buttons
makeButton("Spin (50)", 6, function()
    local char = LocalPlayer.Character
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end
    local hrp = char.HumanoidRootPart

    local spinSpeed = 50 -- Change this number for faster/slower spins
    RunService.Stepped:Connect(function()
        if hrp and hrp.Parent then
            hrp.CFrame = hrp.CFrame * CFrame.Angles(0, math.rad(spinSpeed/10), 0)
        end
    end)
end)

makeButton("Touch Fling", 7, function()
    local char = LocalPlayer.Character
    if not char then return end
    local hrp = char:WaitForChild("HumanoidRootPart")

    local flingPart = Instance.new("Part")
    flingPart.Size = Vector3.new(5,5,5)
    flingPart.Transparency = 1
    flingPart.CanCollide = false
    flingPart.Massless = true
    flingPart.Parent = char
    local weld = Instance.new("WeldConstraint", flingPart)
    weld.Part0 = flingPart
    weld.Part1 = hrp

    flingPart.Touched:Connect(function(hit)
        local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
        local enemyHRP = hit.Parent:FindFirstChild("HumanoidRootPart")
        if hum and enemyHRP and hit.Parent ~= char then
            enemyHRP.Velocity = Vector3.new(0,200,0) + hrp.CFrame.LookVector * 200
        end
    end)
end)

makeButton("Explode", 8, function()
    local char = LocalPlayer.Character
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end
    local explosion = Instance.new("Explosion")
    explosion.Position = char.HumanoidRootPart.Position
    explosion.BlastRadius = 10
    explosion.BlastPressure = 500000
    explosion.Parent = workspace
    char:BreakJoints()
end)

-- Windows XP startup sound (UPLOAD it yourself!)
local sound = Instance.new("Sound", gui)
sound.SoundId = "rbxassetid://6284871199"
sound.Volume = 1
sound:Play()

Features & Information

V1 - Follow Windowler_2 for V2! This script creates a Windows XP–themed exploit hub for Roblox, styled to mimic the old XP interface with draggable windows, a title bar, and a minimize button. The hub includes functional cheat utilities such as teleporting to random players, mobile-friendly flying, infinite jump, speed boosts, noclip, spinning, touch-based fling, and self-explosion. Each action updates the title bar dynamically to show what’s being executed. It also features: A draggable, resizable XP-style frame with classic blue title bar. Minimize/restore functionality tied to the window’s position. An optional startup splash message that fades out after 3 seconds. Windows XP startup sound playback.
#Windows#Hub#Delta#Script#XP

Community Comments (15)

3/10

Replying to @SyrexhubOfficialDev
IdkYayayayaIdkYayayayaSep 7, 2025

@SyrexhubOfficialDev thanks, im still New to creating scripts só my scripts Are simple, thx for the rating :)

Replying to @IdkYayayaya

@IdkYayayaya oh alr dw u will improve A LOT I can tell about what features u putted just keep working hard and u will succeed in hacking and if ur niceness is now a 5/10 I like nice people

VoidsakenVoidsakenSep 7, 2025

r we deaduzz this shi buns and made with ai

Replying to @Voidsaken
IdkYayayayaIdkYayayayaSep 8, 2025

@DharMann just bc it doesnt have a good visual and some things that dont work (like fly and touch fling) doesnt mean its ai vro, im still New this is my Second script

Replying to @IdkYayayaya
bopery7bopery7Sep 8, 2025

@IdkYayayaya we see the comments its open source buddy

Replying to @bopery7
IdkYayayayaIdkYayayayaSep 8, 2025

@bopery7 yes ok its open source, im trying to know how to make It loadstring

Replying to @IdkYayayaya
bopery7bopery7Sep 11, 2025

@IdkYayayaya loadstring is kinda open source and no one adds comments like --make screengui

Replying to @IdkYayayaya
dnezerodnezeroSep 8, 2025

@IdkYayayaya welcome :)

ChaseyScriptzyChaseyScriptzySep 8, 2025

gng i got banned permanently from slap battles tf

Replying to @ChaseyScriptzy
IdkYayayayaIdkYayayayaSep 8, 2025

@ChaseyScriptzy if u use inf jump, the anti cheat will get u (it happened to my alt)

Replying to @IdkYayayaya
ChaseyScriptzyChaseyScriptzySep 8, 2025

@IdkYayayaya ikr

Replying to @IdkYayayaya
thosewhoknow2030thosewhoknow2030Sep 9, 2025

@IdkYayayaya learn lua bro don t use AI anymore

lunaaa_lunaaa_Feb 11, 2026

THIS PEAK

atwiDEVLOPERatwiDEVLOPERAug 18, 2026

script by ai,🥀

More Scripts for Universal Scripts