I am trying to create a tweening model loader, meaning, a script that tween positions and sizes all the parts and unions into the original position for a cool loading animation sequence.
But I am stumped on how to add parts to a table so they cannot be :cloned() and tweened more than once.
Soo far, just starting but I can't get much further without this main function that I need your help with.
local tweenservice = game:GetService("TweenService")
local parts = script.Parent.Parent:GetChildren('UnionOperation', 'Part')
local selected = parts[math.random(1,#parts)]
selected.Name = math.random()..selected.Name
-- I don't know how to add names to a table... zzz
I know HOW to tween one thing, but doing multiple ones simultaneously without overlapping is something I am unfamiliar with.
Help? |