Player gui script 2v
Key RequiredUniversal

Player gui script 2v

Universal Scripttasin321654tasin321654 2.8K views 478 executesUpdated Jun 4, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•93 lines (2791 chars)
-- 📜 Universal Script: Movement Hub by ChatGPT

-- UI Setup
local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
local Frame = Instance.new("Frame", ScreenGui)
local UICorner = Instance.new("UICorner", Frame)
Frame.Position = UDim2.new(0.1, 0, 0.3, 0)
Frame.Size = UDim2.new(0, 250, 0, 260)
Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)

-- UI Layout
local function createButton(text, yPos, callback)
    local btn = Instance.new("TextButton", Frame)
    btn.Text = text
    btn.Size = UDim2.new(0, 220, 0, 30)
    btn.Position = UDim2.new(0, 15, 0, yPos)
    btn.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.Font = Enum.Font.SourceSansBold
    btn.TextSize = 16
    btn.MouseButton1Click:Connect(callback)
    Instance.new("UICorner", btn)
    return btn
end

-- Local Player
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")

-- Variables
local flying = false
local infJumpEnabled = false

-- Buttons
createButton("WalkSpeed +", 10, function()
    hum.WalkSpeed = hum.WalkSpeed + 5
end)

createButton("WalkSpeed -", 50, function()
    hum.WalkSpeed = math.max(0, hum.WalkSpeed - 5)
end)

createButton("JumpPower +", 90, function()
    hum.JumpPower = hum.JumpPower + 10
end)

createButton("JumpPower -", 130, function()
    hum.JumpPower = math.max(10, hum.JumpPower - 10)
end)

createButton("Toggle Infinite Jump", 170, function()
    infJumpEnabled = not infJumpEnabled
end)

createButton("Toggle Fly (F)", 210, function()
    flying = not flying
end)

-- Infinite Jump
game:GetService("UserInputService").JumpRequest:Connect(function()
    if infJumpEnabled then
        hum:ChangeState(Enum.HumanoidStateType.Jumping)
    end
end)

-- Fly Code
local UIS = game:GetService("UserInputService")
local flySpeed = 50
local bodyGyro, bodyVel

UIS.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.F then
        flying = not flying
        if flying then
            local root = char:FindFirstChild("HumanoidRootPart")
            bodyGyro = Instance.new("BodyGyro", root)
            bodyVel = Instance.new("BodyVelocity", root)
            bodyGyro.P = 9e4
            bodyGyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
            bodyVel.Velocity = Vector3.new(0, 0, 0)
            bodyVel.MaxForce = Vector3.new(9e9, 9e9, 9e9)
            while flying and root do
                bodyGyro.CFrame = workspace.CurrentCamera.CFrame
                bodyVel.Velocity = workspace.CurrentCamera.CFrame.LookVector * flySpeed
                task.wait()
            end
        else
            if bodyGyro then bodyGyro:Destroy() end
            if bodyVel then bodyVel:Destroy() end
        end
    end
end)

Features & Information

This script works in all games / many games (Fly Speed) (Walk Speed) (Jump Power)

Community Comments (1)

LolloarigoLolloarigoJun 4, 2025

This is literally made by ChatGPT...

More Scripts for Universal Scripts