float TIMER_PERIOD = 2.0; float ANGULAR_SPEED = 6.0; changeRotation() { float x = llFrand(1.0); float y = llFrand(1.0); float z = llFrand(1.0); llTargetOmega(, ANGULAR_SPEED, 0.1); } default { state_entry() { llSetTimerEvent(TIMER_PERIOD); } timer() { changeRotation(); } }