If I were to store a tween to a variable, using tweenservice:Create, and then setting the variable that holds that tween to nil, would the tween that just was created still be stored somewhere and taking up memory or worsening the performance?
If not, would it be better to use one script to create a new tween each time a door is opened, or create all the tweens in the doors in the beginning and using them?

2 comments
So, setting the variable that had the tween stored to nil, would delete the tween?
Sorry for the late reply but yes if you changed the variable to nil, then the tween will be garbage collected and you wont have to worry about it