Animation is not a valid member of LocalScript

I am making it so that when a player clicks the mouseButton1 an animation plays, but it says that animation is not a valid member of the script.

local anim = script.Animation

The second picture says something about a dummy, maybe it’s the dummy that’s giving me errors? Any ideas on how to fix it?

1 Like

I already fixed the names, and fixed the problem also, the animation hadn’t loaded yet. Just added wait(2), imma set your answer as solution anyway