I would like to implement a custom leaderboard into my game. To save myself the hassle of having remote events firing when a player leaves or joins can I just not access every playergui on the server and modify the leaderboard on the server?
I don’t really see anything wrong with this but usually people do GUI stuff on the client so I’m just making sure
It’s generally not a good idea to handle GUIs on the server. While the server can access PlayerGui, GUI stuff is meant to be handled on the client for smoother performance. If you do it on the server, the updates have to replicate to the client, which can cause noticeable delay or janky UI behavior — it might feel like lag to the player even if the server is fine. Best practice is: keep your leaderboard logic on the server, then use a RemoteEvent to tell the client to update their GUI. It’s way good & scales better.