Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How in the world would I target the gui of all players in the game through a regular script?

Asked by 7 years ago

For instance a counting downgui from 10 to 0, how would I get everyone's gui to count down from 10 to 0 from a script in a model, which is in workspace. Thanks.

1 answer

Log in to vote
1
Answered by
AZDev 590 Moderation Voter
7 years ago

There are a couple of ways this can be done. You can use a numbervalue object which will be updated on the server. From the client, you can read that value and set the text value of your gui.

You can also use a remote event to tell all the clients to update their gui. Though I believe this could be rather inefficient.

Ad

Answer this question