Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Will an overuse of TweenService cause server/client lag?

Hi, I was thinking about adding floating coins in my game with a small hover animation. I was wondering if it would be better if I made each coin 2 parts with an AnimationController to create a hover effect, or if I created a new tween using TweenService for each coin to simulate this effect.

I feel like if I have 200+ coins all being tweened at the same time, it will cause major lag. Any inputs? Thanks!

2 comments

0

I used tweenservice to tween the color of a part and it was causing lots of sever lag.

0

theres an easy way to do this, just use cframe/vector3

1 answer

You should be handling the coin animations on the client instead of on the server so that it doesn't cause any lag to the server. Hope this helps :)

This discussion is preserved as it was. New answers, comments, and votes are closed.