Skip to content
The Chat Archive
gpt-4o-2024-08-06· OpenAI WildChat-4.8M (AI2)

Write a Roblox script that will make my character run really fast and jump really high.

  1. User

    Write a Roblox script that will make my character run really fast and jump really high.

  2. Assistant

    To create a script that makes your character run faster and jump higher in Roblox, you can use a LocalScript. This script will modify the WalkSpeed and JumpPower properties of the player's character. You should place this LocalScript inside StarterPlayerScripts or StarterCharacterScripts.

    Here's a simple example:

    -- LocalScript
    
    local player = game.Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    
    -- Wait until Humanoid is available
    local humanoid = character:WaitForChild("Humanoid")
    
    -- Set new walk speed and jump power
    local superSpeed = 100 -- Adjust this value to set desired speed
    local superJump = 150 -- Adjust this value to set desired jump height
    
    -- Change character properties
    humanoid.WalkSpeed = superSpeed
    humanoid.JumpPower = superJump
    
    -- Optional: Reset to default values on respawn
    player.CharacterAdded:Connect(function(newCharacter)
        humanoid = newCharacter:WaitForChild("Humanoid")
        humanoid.WalkSpeed = superSpeed
        humanoid.JumpPower = superJump
    end)
    

    Instructions:

    1. Open your Roblox Studio.
    2. Insert a LocalScript: Go to StarterPlayer > StarterPlayerScripts or StarterCharacterScripts, and insert a LocalScript.
    3. Copy and Paste the Above Code: Paste the script into the LocalScript.
    4. Customize the Values: Modify the superSpeed and superJump variables to suit the speed and jump height you desire.

    Things to Note:

    • WalkSpeed Default Value: The default walk speed in Roblox is usually around 16.
    • JumpPower Default Value: The default jump power for a character is typically 50.
    • Balance Considerations: Setting these values too high can cause issues with gameplay balance or even breaking infrastructure if your game world is not prepared for such extreme movements.

    Remember to test the script in your game to ensure it behaves as expected. Adjust the superSpeed and superJump values according to your preferences.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.