0 views0 copies0 likes
Walk Speed Selector with Three Presets
Universal script
Copy it, then test it in your own Studio place.
Script code
12 lines ยท 0.5 KBlocal speeds = { EasyPace = 12, RacePace = 20, SprintPace = 28 }for name, speed in pairs(speeds) do local pad = workspace:WaitForChild(name) local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Choose pace" prompt.ObjectText = tostring(speed) .. " studs/sec" prompt.Parent = pad prompt.Triggered:Connect(function(player) local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.Health > 0 then humanoid.WalkSpeed = speed end end)endAbout this script
Build a movement training area with three pads that set WalkSpeed to deliberate presets. Add anchored parts named EasyPace, RacePace and SprintPace to Workspace. The script creates an interaction prompt on each and applies the chosen speed to the current living character on the server. Adjust the preset table for your course and test several players at once so each can select a pace independently.
Log in to leave a comment.
No comments yet
Be the first to share your thoughts!
Comments
Share what works, ask questions, or report an issue.