An object that give rings ...
I can not understand why you want it. An "object" in your situation, for me, I understand in two ways.
A platform (say, a collection of platforms that make a safe, for example !). When Sonic touches the safe, he won the rings ...
A "thing" is to say everything is made ... almost Paper Mario sprite.
In short, I do not really know how to program in SOC, but I do not think the effect "add rings to the players" already exists.
It is better to await the opinion of a professional SOC designer.