Why does my character in multiplayer not jump higher when i hit Shift + Spacebar?

Hy there

I have this script:

It should make the character jump higher when you hit shift + spacebar (max. 5 times). It works with my server-player but not with my client-player (local multiplayer).

Why is this or what am i making wrong here?

Thank you