Making variables change across scenes

Could you format your code paste?