Is it bad to handle GUIs on the server?

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

Doing it on the client is smoother and won’t look bad if the server is lagging or whatever, so I would say it’s bad to handle it on the server

3 Likes

Server lagging? What do you mean? It would be the client that lags for all I know

2 Likes

Yeah depends on what your game is though but, I made a game and I handled the GUI on the server and it was terrible

2 Likes

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.

4 Likes

Ah okay, thank you very much for the explaination

2 Likes