#how do i make leaderstats value = walkspeed ?
17 messages · Page 1 of 1 (latest)
how do i make a leaderstats value (speed) update, and change the walkspeed of the player
for example starting walkspeed is 4 but when person collects stuff, and the value goes up or down, the walkspeed will always be the same as the value
and update
only for the player
you can do
.Changed() on the value and do Hum.WalkSpeed = Value.Value
so like
in a localscript
local Value = YourValueHere
Value.Changed:Connect(function()
Hum.WalkSpeed = Value.Value
end)
well its a localscript so you could place it in StarterCharacterScripts
** You are now Level 4! **
You can use the value of your currency as the walkspeed