Gui Changes show to everyone

Hello there!
Lets say I got a script in my gui
it will print the same number to everyone


Do think you can elaborate on your situation a little more?

1 Like

To do that you’ll need to do a server script, you can do anything to any players using one.

edit: If you could clarify a bit more though

1 Like

You can add a value on workspace and make the script on the GUI get the value, Or just use FireAllClients() on a remote event

1 Like

Use a remote event, on the server it’d be this

local amountplayers = game.Players:GetPlayers()

for i,v in pairs (amountplayers) do
Remote:FireClient(v, math.random(1,20)
1 Like

I don’t think you’d need a remote for that, depending on your situation.

Though, you given vague details about what you want. You can just run a simple print(math.random(1, 20)) with a ServerScript, which everyone will see. If it was LOCAL, however, only the said client can see that change.