Fixed animation on lua. Enum not fixed yet, library problems