Basic working animation script (not integrated)