alestane icon

Example

alestane | PRO | 04/04/14 02:27:56 PM UTC | 0 ⭐ | 345 👁️ | Never ⏰ | []
Lua |

330 B

|

None

|

0 👍

/

0 👎

    function self:Animate(loop)
        if loop ~= self.sequence and self.Sound then
            self.Sound ''
            local loop = loop
            while loop do
                if self.SoundList[loop] then
                    self.Sound(self.SoundList[loop])
                    break
                else
                    loop = loop:match("^(.*):[^:]+")
                end
            end
        end
        return baseAnimate(self, loop)
    end

Comments