so when the new level start set the variablen from the player and stuff to 0
and i think you shout splitt you script into pices