Multiply the coin data.value by the bet in your code before displaying it.See it workRecipe: Value-carrying coin