What do you want to achieve? Keep it simple and clear!
I want to know, Does :Destroy, Destroy the object for the local player or the server?
What is the issue?
I don’t know if it does destroy for the server
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have looked at the developer Hub about Instance:Destroy() But I don’t know.
If you destroy Instance’s on a local script it would destroy the Instance only for the local player.
If you destroy Instance’s on a server script it would destroy the Instance for all players.
So lets say, the player types /cmds and a UI opens. then there’s a button that closes the UI (The code is in a local script) and I use :Destroy() that would only get rid of it for the local player
It would get rid of the UI permanently. Which means if the local player presses the close button, and says the /cmds message again it would error because the GUI has been destroyed and returns nil. I would prefer changing Visible to false instead of destroying.