What's wrong with my script?

But wont he have to use remote events as the walk speed changes wont replicate? Unless humanoid changes can be editing locally I thought he would need remote events?

Clients are authoritative of the physics applied to their characters. The WalkSpeed property doesn’t replicate but WalkSpeed influences the character’s velocity which falls under the physics pipeline, so clients can set their own WalkSpeed without the property change being picked up by the server and they will still move according to its value.

how can i save the jumppower so every time the player dies it doesn’t go back to the normal jumppower