DM Goss, Regarding your loop attempt: it seems that there is only 1 emote currently allowed per scriptcard. Would something like the following work for you? It has one emote, then line items for each of the creatures pulled out of the bag. I also changed the creature spawn blocks into functions, as the --X| at the end of each would stop the parser mid-way otherwise. !scriptcard {{
--#titlecardbackground|#65D52A
--#title|From The Bag Of Tricks
--#sourceToken|@{selected|token_id}
--#emoteText|@{selected|token_name} reaches into a Bag of Tricks!
--=NumCreatures|?{How many Creatures?|1,1|2,2|3,3}
--=Counter|0
--:RollAnimalLoop|
--=Counter|[$Counter]+1
--=RollAnimal|1d8
--?[$RollAnimal] -eq 1|>Weasel
--?[$RollAnimal] -eq 2|>GiantRat
--?[$RollAnimal] -eq 3|>Badger
--?[$RollAnimal] -eq 4|>Boar
--?[$RollAnimal] -eq 5|>Panther
--?[$RollAnimal] -eq 6|>GiantBadger
--?[$RollAnimal] -eq 7|>DireWolf
--?[$RollAnimal] -eq 8|>GiantElk
--?[$Counter.Total] -lt [$NumCreatures.Total]|RollAnimalLoop
--X|
--:Weasel|
--@forselected+|Spawn _name|weasel _offset|0,1 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Weasel!
--<|
--:GiantRat|
--@forselected+|Spawn _name|giant rat _offset|0,2 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Giant Rat!
--<|
--:Badger|
--@forselected+|Spawn _name|badger _offset|0,3 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Badger!
--<|
--:Boar|
--@forselected+|Spawn _name|boar _offset|0,4 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Boar!
--<|
--:Panther|
--@forselected+|Spawn _name|panther _offset|1,0 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Panther!
--<|
--:GiantBadger|
--@forselected+|Spawn _name|giant badger _offset|2,0 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Giant Badger!
--<|
--:DireWolf|
--@forselected+|Spawn _name|dire wolf _offset|3,0 _size| 2,2 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Dire Wolf!
--<|
--:GiantElk|
--@forselected+|Spawn _name|giant elk _offset|4,0 _size| 3,3 _order|toFront _fx|nova-magic _expand|15,30
--@roll20AM| _audio,play,nomenu|Teleport Spell
--+Pull [$Counter]|@{selected|token_name} pulls out a Giant Elk!
--<|
}}