Should I script a very small GUI tween on the server to avoid latency?

I have a loop setup for my game where when the map is being loaded, it fades the players screen to black, does lighting settings/teleports them then fades back to transparent.

The issue is, I use a remote event to signal when to fade to black and when to fade to transparent. Since some players are laggy, they see lighting/teleporting before their screen fades.

I was wondering if I should script the fading on the server to avoid this latency lag. Will it work?

1 Like

If you want to avoid latency, do the tween clientside. In general, everything to do with UI should be client side.

You could fire another RemoteEvent when the fading is done and do the teleporting and lighting settings after the fading.