Script:
BaseWalkSpeed = ; <-- need help on this one
SprintSpeed = 16;
AimedWalkSpeed = 10;
CrouchWalkSpeed = 7;
ProneWalkSpeed = 4;
Script:
BaseWalkSpeed = ; <-- need help on this one
SprintSpeed = 16;
AimedWalkSpeed = 10;
CrouchWalkSpeed = 7;
ProneWalkSpeed = 4;
if Player.Character then
BaseWalkSpeed = Player.Character.Humanoid.WalkSpeed
end
If you want to get and change the player WalkSpeed in a script rather than a local script, here's an example of what you can do:
game.Players.PlayerAdded:Connect(function(plr)
if plr.Character then
BaseWalkSpeed = Player.Character.Humanoid.WalkSpeed
end
--do the rest here
end)
By the way, the default WalkSpeed is 16 for a player. If this helped you, please accept it :)
This discussion is preserved as it was. New answers, comments, and votes are closed.