Need help running UI animations

I have an animation object or an “AnimationController” Class, and I am trying to run it on a GUI object.

local anim = gui.anims[role].Animation
anim:Play(gui[role])

I can’t quite seem to figure out how to run the animation on the object, the position of the GUI object I want to run is:

gui[role]

You can’t run animations on UI, but you can use tweens.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.