I would like some advice on creating a CoBlocks script.
The logic is:
Starts a lever, starts rotating an object.
When clicking another object the direction of rotation changes.
And this loop should continue while the lever is on.
When clicking the lever again the scene restarts.