local Anime = vci.assets.GetTransform("Anime") local SubitemAnime = Anime.GetAnimation() local table = { wrap_mode="ping_pong", speed=0.8} local jsonString = json.serialize(table) function onUse(use) SubitemAnime.PlayWithState("Anim1", jsonString) end