Need help making chicken model spawn eggs

Hi,

I need help with how to make a chicken model that can spawn eggs in the same location like this, upto three only.

Screenshot 2022-10-04 at 19.32.44

They can be interacted with through proximity prompt and then once interacted it destroys the egg and adds it to leaderstat.

I am bumping this post, hopefully someone can help.