How do i make robloxians walk 10 speed or slower? trying to make a horror game
If you mean the Walkspeed of a Player, then;
1 | game.Players.PlayerAdded:connect( function (plr) |
2 | plr.CharacterAdded:connect( function (char) |
3 | char:FindFirstChild( "Humanoid" ).WalkSpeed = NUMBERHERE |
4 | end ) end ) |
I hope this helped! ;)
1 | game.Players.PlayerAdded:connect( function (Player) -- WHEN PLAYER JOINS |
2 | Player.CharacterAdded:connect( function (character) -- when there character gets added |
3 | character:FindFirstChild( "Humanoid" ).WalkSpeed = 10 --Gets there humanoid and set there walkspeed to 10 |
4 |
5 | end ) |
6 | end ) |
If you have any problems comment below. If I helped Upvote me please