What do you want to achieve? I want the buttons of the GUI that pops up to only be controlled by one player, but those actions should appear on the server.
What is the issue? Include screenshots / videos if possible!
It looks like it works where I press a GUI button, it is visible to me and it goes on the server. My concern is that since I do not have a second playtester, that other players could also see the GUI and control it since it is not a LocalScript. Is that really an issue here? (Note: I got this formatting from a free model and will be editing the code and GUI soon)
Here is a screenshot of the Explorer hierarchy below. The “TrainSystem” script is the one that controls the train, and activates the ''Train" GUI whenever the character is SeatWeld to the seat. Then the user presses buttons which open/close doors, honk the horn, etc.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I am not sure. Its just a question I need to ask.
If you need any more recordings images or scripts to see just let me know and I will immediately provide them!
Hello! I’m gonna take it that you’re new to Roblox Studio, so for GUIs, everything from StarterGui is cloned into each Player’s PlayerGui… I do not think it matters if you use local or regular script, unless you need to specifically get that type…!
Yes, I have started developing for two weeks with some c++ experience lol. So in my case as you can see from the screenshot, this GUI is not in the StarterGUI, because if it was it would be given to all players at the beginning of the game (if I am not mistaken, I do not know how to deactivate or reactivate a StarterGUI if there is a way to do it).
This GUI is in the Workspace, whose parent is the seat which is within a model within a model… etc. So what you are saying, is that this GUI will not appear for all players and instead only for the player that activated it if that player happens to sit on the train’s seat? And so that means there is no use for a LocalScript here?