So, I have a part gen that uses tweening, and I want to have random tween animations, but it didn't work for me, which kinda sucked. The thing I tried.
animations = {'Sine','Back','Quad','Quint','Bounce','Elastic'}
local animation = animations[math.random(1,#animations)]
local tweenInfo = TweenInfo.new(
partTime.Value,
Enum.EasingStyle.animations, -- I also tried Enum.EasingStyle = animations.
Enum.EasingDirection.Out,
0,
false,
0
)
Does anyone know what I am doing wrong? Thank you.

1 comment
Thank you for the help! I'll remember to use this in the future! (oh and what i'm making is basically a teapots of doom knockoff, but its a hill i guess. thanks for the help)