Creating things depending on another thing...

sorry for the bad topic, but i need to put a colision
and when it touchs the spike
, it react that all the rings go (the ones that are acumulated during the game) goes out flying aroud, and set back the counter to 0
just like in Sonic1 to sonic and knuckles
and when it touchs the spike
just like in Sonic1 to sonic and knuckles