Find a players speed

Hello I was wondering how to find the speed of a player as I am making a HUD, I have tried using velocity but it returns as a vector and I am not sure how to change that into a number. So if there is another way to get the players current speed as a number or someway to change a vector into a number I would find it very helpful.


legend, thank you