How do I get gui to work while running. (not through client)

I am trying to add a gui to my server code so I don’t constantly have to run it via command line. But when running the game, the gui does not appear to react.
What it looks like when the mouse is over Make Random in roblox studio:


When the mouse is over Make Random while running:

When testing:

I feel like this is new and gui used to run in run mode. It would just send server signals instead, but now it does not react. This is a big problem if I want to control what serverside code runs from the perspective of the server.
Is there any way to do this?

1 Like

Make a remote event in replicated storage, and then on the client sided gui code fire that event with the correlated action you want to do.

On the server make sure you check that the event came from a developer only.

1 Like

I understand and thank you, but that is not what I am trying to acomplish. I am trying to get the gui to run when running (not clicking play/test, but F8), It does not but I am so sure it did so in the past, I can find nothing about this and feel like I am going insane.

1 Like

So you want it to show on your screen only when testing in studio? In that case it’s simple.

Check https://create.roblox.com/docs/reference/engine/classes/RunService#IsStudio

And the other methods, they might tell you what you need.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.