So, I have made a leaderstats script, but I am very unsure if this gui will pop up for everyone even though I just want the person that reached a certain integer getting the gui. But, I am unsure if the gui will pop up for everyone. script:
Only people who respawn (assuming you don’t have ResetOnSpawn disabled) will see those changes.
If you want to update the GuiObject for every person, their copy of the ScreenGui is in each player’s PlayerGui so you’ll have to update it for each player (although anything cloned from StarterGui cannot be seen by the server!).
You’d need to create a RemoteEvent in ReplicatedStorage. A RemoteEvent is a way to send information to the Server or Client. (Read more about sending RemoteEvents to the client: here.
When firing the RemoteEvent to the Client, you’d make a script that receives the RemoteEvent from the server.
When the Client detects that the Event was received it will run the function that the script has told it to do.
(TL:DR) So in conclusion, it receives the event from the server and runs the function that the script has told it to do.