Is it a local or server/normal script that can change the text of a gui in startergui?
Both scripts can change anything on your game, the only thing that changes is if the action will be replicated or not.
Local Scripts make changes that only the LocalPlayer can see/interact, while normal scripts change for everyone.
LocalScripts are commonly used with guis because they don't need to be replicated to all players.
so you can use a RemoteEvent and a local script to do that. [using
:FireAllClients() on server]
Something like that:
event.OnClientEvent:Connect(function() script.Parent.Text = "30" --- bla bla bla rest of the code... end)
this script would change the text once the event is fired
NOTE: The script above will not work, as i'm using a invalid reference to an object(event)