This does not work
if ( ( time > 3 ) & ( time < 5 ) ) Light1.Intensity = 1;
if ( ( time > 3 ) & ( time < 5 ) )
Light1.Intensity = 1;
You need two "&" as an "and" operator
if ( ( time > 3 ) && ( time < 5 ) ) Light1.Intensity = 1;
if ( ( time > 3 ) && ( time < 5 ) )
Xpressionist 3