I can't make items cost gold for items spawners and conditional buttons

Then just set up a conditional button make sure it’s consuming whatever object is in the conditional button which is the gold and drop however much is required into the button not the item spawner then just set on condition met have it grant the item from an item granter