So I am trying to have it deduct the money from the user, but when the user does not have the credits a error message pops up but seems like it isnt displaying its just taking credits from the user that does not have the valid credits for the resource. so example if they had 0 it would take 10 credits and put them in the -10 I want it to display a error message if they dont have the 10 credits. I am trying to figure this out can't seem to get it working. I got it working for them earning 10 credits for the user purchasing the resource. This would be helpful if someone can help me with this.