I forgot what the function was but there was a specific event function you could use to get a players walkspeed, whether it’s from the client or server. I don’t remember it though, if someone knows please let me know.
It’s just checking the property WalkSpeed for the player’s Humanoid.
Here’s an example:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player: Player)
player.CharacterAdded:Connect(function(character: Model)
local humanoid: Humanoid = character:WaitForChild("Humanoid")
print(humanoid.WalkSpeed)
end)
end)
If the player has the standard WalkSpeed, this will just return 16! You can check humanoids from the client or the server.
1 Like
I understand your confusion, but this is not what I meant. A function to get the players walkspeed meant that you can retrieve an argument of the current speed of a player.
I figured it out though, thanks for trying to help me out man I appreciate your help.
Humanoid.Running:Connect(function(speed)
print(speed)
end)
3 Likes
I think it was Humanoid.Running
Haha oh! That makes more sense.
No problem, glad you found your solution!