all you have to do is click the scratch coin if you get is body then it means heads if you get his tail then its tails it will be switching multiple times before it turns to its final it will stop and then you have your coin
made it all on my own