button names need to begin with roll_ , so that should be name="roll_FOR" That's probably not your issue though. You can - and really should - test button values in chat when they aren;t working properly. So createa character, add an Ability to the Attributes and Abilities tab, and enter this is the text: &{template:tmpl} {{pc=@{character_name}}} {{name=Force (FOR)}} {{roll= ?{Avantage?|Avantage,2d100kl1|Normal,1d100|Desavantage,2d100kh1}} {{target=[[@{COM}+(?{Bonus(+)/Malus(-)|0})[Bonus/Malus]]]}} Then play around with that text to get it working. Once it is working, copy it into the character sheet. You can go further and take out every section inside the {{ }} after the =, and test them individually in chat. So for roll you can test ?{Avantage?|Avantage,2d100kl1|Normal,1d100|Desavantage,2d100kh1} and for target, you can test [[@{COM}+(?{Bonus(+)/Malus(-)|0})[Bonus/Malus]]] That last one includes an attribute (@{COM}) so for testing, you'd need to change that to include selected or a character name, like so [[@{selected|COM}+(?{Bonus(+)/Malus(-)|0})[Bonus/Malus]]] Having done all this and looking it over, it looks to me like this part is your issue {{roll= ?{Avantage?|Avantage,2d100kl1|Normal,1d100|Desavantage,2d100kh1}} It should be {{roll= [[?{Avantage?|Avantage,2d100kl1|Normal,1d100|Desavantage,2d100kh1} ]] }} You're missing one } at the end, and the roll should probably be in inline roll brackets. Do this kind of testing, and you can find problems with rolls fairly quickly.