gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
roblox script gui speed and jump
- User
roblox script gui speed and jump
- Assistant
In ROBLOX, you can use a LocalScript to control the speed and jump power of a player's character. Here is an example of how you can do it:
lua-- Inside a LocalScript local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() -- Change the speed and jump power values here local speed = 50 local jumpPower = 100 -- Check if the character is available if character then local humanoid = character:WaitForChild("Humanoid") -- Change the speed and jump power humanoid.WalkSpeed = speed humanoid.JumpPower = jumpPower endSimply place this script inside a LocalScript in a location such as StarterPlayerScripts, and it will set the player's character's speed to 50 and jump power to 100. You can adjust the
speedandjumpPowervariables to your desired values.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.