require('o_mis') function onRebuildComplete(self, msg) local player = msg.userID storeObjectByName(self, "Swinger", player) GAMEOBJ:GetTimer():AddTimerWithCancel( 3.0, "Start",self ) end function onTimerDone(self, msg) local player = getObjectByName(self, "Swinger") if msg.name == "Start" then player:PlayAnimation{ animationID = "crow-swing" } self:PlayAnimation{ animationID = "swing" } end end