ok so i desperately need some code before tomorrow morning.
I need to know how to make a light switch on and off on a click.
I have a variable named "Power" and when power==1 i want the light to turn on and when power==0 the light should turn off. but then when it's clicked a third time the light should turn on again. (Power==0) and so on and so on. i've been working on this for the last 2 hours and if i can't get it done soon my art project (a game) will be totally useless. please help!