loadstring([[ -- SERVICES local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- STATES local flying = false local speedOn = false local infJumpOn = false local noclipOn = false local FLY_SPEED = 70 local SPEED_AMOUNT = 75 -- GUI local gui = Instance.new("ScreenGui", game.CoreGui) gui.Name = "ScriptHub" local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0,260,0,320) frame.Position = UDim2.new(0.5,-130,0.5,-160) frame.BackgroundColor3 = Color3.fromRGB(25,25,25) frame.Active = true frame.Draggable = true local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1,0,0,40) title.BackgroundTransparency = 1 title.Text = "âš¡ Script Hub" title.TextColor3 = Color3.new(1,1,1) title.Font = Enum.Font.SourceSansBold title.TextSize = 22 local function makeButton(text,y) local b = Instance.new("TextButton",frame) b.Size = UDim2.new(0.9,0,0,40) b.Position = UDim2.new(0.05,0,0,y) b.BackgroundColor3 = Color3.fromRGB(40,40,40) b.TextColor3 = Color3.new(1,1,1) b.Font = Enum.Font.SourceSansBold b.TextSize = 18 b.Text = text return b end local flyBtn = makeButton("Fly: OFF",50) local speedBtn = makeButton("Speed: OFF",100) local jumpBtn = makeButton("Inf Jump: OFF",150) local noclipBtn = makeButton("NoClip: OFF (N)",200) local closeBtn = makeButton("Close Hub",260) -- FLY LOGIC (STABLE) local function startFly() local char = player.Character or player.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") local hum = char:WaitForChild("Humanoid") flying = true hum.PlatformStand = true local connection connection = RunService.RenderStepped:Connect(function() if not flying or not hrp or not hum then hum.PlatformStand = false if connection then connection:Disconnect() end return end local cam = workspace.CurrentCamera local moveVec = Vector3.new() if UIS:IsKeyDown(Enum.KeyCode.W) then moveVec = moveVec + cam.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then moveVec = moveVec - cam.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then moveVec = moveVec - cam.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then moveVec = moveVec + cam.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.Space) then moveVec = moveVec + Vector3.new(0,1,0) end if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then moveVec = moveVec - Vector3.new(0,1,0) end if moveVec.Magnitude > 0 then hrp.CFrame = hrp.CFrame + moveVec.Unit * FLY_SPEED * RunService.RenderStepped:Wait() end end) end local function stopFly() local char = player.Character if char then local hum = char:FindFirstChildOfClass("Humanoid") if hum then hum.PlatformStand = false end end flying = false end -- NOCLIP RunService.Stepped:Connect(function() if noclipOn and player.Character then for _,v in pairs(player.Character:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end end end) local function toggleNoClip() noclipOn = not noclipOn noclipBtn.Text = noclipOn and "NoClip: ON (N)" or "NoClip: OFF (N)" end -- BUTTONS flyBtn.MouseButton1Click:Connect(function() if flying then stopFly() flyBtn.Text="Fly: OFF" else startFly() flyBtn.Text="Fly: ON" end end) speedBtn.MouseButton1Click:Connect(function() local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid") if hum then speedOn = not speedOn hum.WalkSpeed = speedOn and SPEED_AMOUNT or 16 speedBtn.Text = speedOn and "Speed: ON" or "Speed: OFF" end end) jumpBtn.MouseButton1Click:Connect(function() infJumpOn = not infJumpOn jumpBtn.Text = infJumpOn and "Inf Jump: ON" or "Inf Jump: OFF" end) noclipBtn.MouseButton1Click:Connect(toggleNoClip) UIS.JumpRequest:Connect(function() if infJumpOn then local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end) -- KEYBINDS UIS.InputBegan:Connect(function(input,gpe) if gpe then return end if input.KeyCode==Enum.KeyCode.N then toggleNoClip() end if input.KeyCode==Enum.KeyCode.RightShift then frame.Visible = not frame.Visible end end) -- RESPAWN HANDLING player.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid") if speedOn then hum.WalkSpeed = SPEED_AMOUNT end end) ]])()