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