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