I managed to create a script that changes a player's walkspeed when they join the game, but how would I make it work when they respawn?
function changeSpeed(player) repeat wait() until player.Character ~= nil game.Players:GetPlayerFromCharacter(player) player.Character.Humanoid.WalkSpeed = 9.5 end game.Players.PlayerAdded:connect(changeSpeed)