How to avoid overlapping between pickups?

I m printing “Random Location” in the starting of “Spawn Coin” function. And now I’m calling only one tile. And its printing two times. Sometimes 1, sometimes 3 times. But mostly 2 times. Look at the screenshots.

And will you please take a look at this video (#4)?

I did exactly the same. I can’t upload my project because of huge size (800 MB) instead you can look at this video. Please.

I know I won’t call coins randomly at the end of this project. But I want to learn right now. Later, I will thinking about publishing a game.