Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I remove an existing boat when you spawn another through DialogChoice?

Asked by
DVDKO 20
8 years ago

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.

0
Use an If statment to see if something in the workspace is a boat, then destroy it when the new one is spawned. drew1017 330 — 8y
0
This doesn't remove the boat locally, so if another person spawns in a boat it would remove the other person's boat. DVDKO 20 — 8y

Answer this question