That's because you registered Health event (this event is called whenever player health changes) and you set player max health there. Instead of that you should register post spawn (you can use hamsandwich) and set it there.
Your way of setting player max health based on level is a total failure. You needed 500 lines of code while you could achieve the same effect using 2 lines:
PHP Code:
public Health(id)
set_user_health(id, 100 + PlayerLevel[id])
__________________