I made a dialog where you can spawn boats, but I don't want people to spam spawn them. But I don't want only 1 boat for the server so I need to remove them locally if a player already spawned them. Any help? I don't want the boat to be removed by other players.

2 comments

0

Use an If statment to see if something in the workspace is a boat, then destroy it when the new one is spawned.

0

This doesn't remove the boat locally, so if another person spawns in a boat it would remove the other person's boat.