Game lagging when tween plays

Should I add the tweens into the LocalScript and then play them when they are meant to be played by using a RemoteEvent, or should I do something else?

Edit: Nevermind, I found out what to do.