It only updates for you since you’re the one who clicked it and changing the text locally which doesn’t affect the server, why you want to do is to use remote events.
When you click the gui, it fires the remote event to the server and the server fires the remote event to all clients, when a client sees the event triggered, it changes the text for that client which is every single client in the server since you fired the remote event to everyone.
yes, and make another server script that handles this remote event, and when the event is fired the server script fires the event back to ALL clients.
something like
game.ReplicatedStorage.ChangeText.OnServerEvent:Connect(function(player, text)
game.ReplicatedStorage.ChangeText:FireAllClients(text)
end
( server script that handles the event, the first parameter is the player who fired the event to the server its a must to add that parameter, second parameter is the text the client fired )
you could fire a remote event that makes the server change it
if you dont understand them roblox explained it really well here Remote Functions and Events
please keep in mind that the first variable on the server will always be the player who fired it, so if you fired some text, it would be player, text on the server
Oh then that’s way easier
Make a remote event, when the PRIORITY button is clicked, the local script fires the remote event to the server. A server script that checks for when the remote event is fired will change the text of the surface gui.
local script:
I think so, if it doesn’t work try printing something inside the event and see if it prints. If yes, then it should be your gui’s problem. If no, then double check your event scripts.