Studio says that items are inside an object

I’m trying to make it so when a new Button Clone is added to a separate Frame, then it get the button’s object which is an animation Object. If the button has a certain name, then it’s supposed to change the AnimationID of the Animation Object, but it instead gives me this error:

Code:

Output:

on the first if statement its AnimationId while on the other ones its AnimationID, you probably misspelled it, and also an easier way of doing what youre doing is this:

Template.DanceAnim.AnimationId = EmoteTableModule[Template.Name].AnimID

It worked! Thanks so much man!

2 Likes

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