-- 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()