So I’ve managed to make the camera rotate left, right, and back to the original position using multiple tweens. Sadly, a big problem with this is that, since it is a local script, it may cause lag on the client since the player will need to look left and right a lot during gameplay.
So, is there any way to reduce client-side lag from tweening, or should I make tweening happen on the server?
Tweens don’t consume very much processing power, or create much lag, unless you have a bagillion of them. As long as you aren’t tweening every millisecond, you should be fine.
Plus, it’s better to have a bit of client lag, than lag on the server that affects everyone.