So i have a gui that has a textlabel that says "16/416", i need it to increase the number by how much my walkspeed increases if that makes sense.. So i need the label to say "(my walkspeed)/416" depending on my walkspeed. I've tried with putting a Numbervalue in my TextLabel, but didn't know where the local script should go, nor what code should be inside of it. Any help is appreciated. Thank you in advance.
It is pretty easy. Just put this LocalScript into "StarterPlayerScripts"
local textlabel = --Location of Label local hum = game.Players.LocalPlayer.Character.Humanoid while true do wait(0.1) textlabel.Text = hum.WalkSpeed .. "/416" end
I did not test this, so it may not work.
Here is a working script to use.
PLACE THE LOCALSCRIPT INSIDE THE TEXTLABEL!
local label = script.Parent local player = game.Players.LocalPlayer.Character:Wait() and game.Players.LocalPlayer.Character while wait() do label.Text = player.WalkSpeed.."/416" end)