Walk Speed Selector with Three Presets thumbnail
0 views0 copies0 likes

Walk Speed Selector with Three Presets

Universal script

Copy it, then test it in your own Studio place.

Combat & movement Verified

Script code

12 lines · 0.5 KB
Download
local 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)end

About 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.

Comments

Share what works, ask questions, or report an issue.

0

Log in to leave a comment.

No comments yet

Be the first to share your thoughts!

Raw Luau source

local 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)
end