Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

SoundFX keeps repeating in simple API script.

1612695830

Edited 1612695960
Hey guys, I'm very new to this API scripting and I'm running across a problem. Every time I click the ability mod and follow the prompts, the sounds keeps repeating on a loop and for the life of me I can 't figure it out.  This is the script: !power {{ --name|Me swing big axe! --leftsub|Melee Attack --rightsub|Greataxe  --Attack:|[[ [$Atk] ?{Attack|Standard,1d20|Advantage,2d20kh1|Disadvantage,2d20kl1} + @{strength_mod} + @{pb} ]]   --?? $Atk >= @{target|AC} AND $Atk.base <> 20 ?? Damage:|[[ [$Dmg] 1d12 + @{strength_mod} ]]  --?? $Atk.base == 20 ?? Critical Hit|[[ [$CritDmg] 2d12 + @{strength_mod} ]]  --soundfx|_audio,play,nomenu|Greataxe   --vfx_opt| @{target|token_id} @{selected|token_id} splatter-blood  }} Any help would be greatly appreciated.
Bump.