Spawning Items On The Client's Side

I currently have a coin spawning system that is completely server-sided. However, I see games like Pet Simulator X spawn coins on the client. Why do they do this?

Also, how would a client-sided system work? Does a server script keep track of the coordinates of the coins, and whenever a new coin spawns it sends a remote to the client?

Thank you!

1 Like

Are you sure PSX spawns coins on the client side?

If you would like coins to spawn for everyone, keep using server.

I always thought it was client-sided, since when you join, coins start spawning from the sky even though it 's not a new server.

1 Like

You shouldn’t spawn coins client-sided because that could easily be abused.
I believe Pet Sim X spawns coins server-sided then makes it for that player visible.

The server can detect whenever a player joins, I’m not sure why this led you to believe that they were being spawned on the client.

When a player initially joins there are no coins on the map, then coins start spawning. Doesn’t this have to be done on the client side since players who are already in the server can see the coins?

1 Like

So what Pet Simulator X does is purely cosmetic?

1 Like

Yes, games like that have a lot of extra effort put into them.

1 Like

The coins can still be created by the server but configured to only be viewable/interactable by a single client.

1 Like

Are there any benefits of doing this?

1 Like