well what i did was give it the first-person ammo function like the needler, i had all frames the same except for the last frame was when the sword was gone, it worked.