To deposit:
0. Input -> Player / Client -> VCE-ifVariable -> [money] [>=] [5] [1 3] **Checks if the player has at least 5 dollars
1. onVariableTrue -> Player / Client -> VCE-modVariable -> [money] [subtract] [5] **If true, then subtract 5 dollars from the player
2. onVariableTrue -> Self -> VCE-modVariable -> [money] [add] [5] **If true, then add 5 dollars to the brick that is acting as storage
3. onVariableFalse -> Client -> ChatMsg / CenterPrint / BottomPrint -> "You need at least 5 dollars to deposit" **Lets the player know if they don't have enough to deposit
To withdrawal would be pretty much the opposite:
0. Input -> Self -> VCE-ifVariable -> [money] [>=] [5] [1 3] **Checks if the brick storage has at least 5 dollars
1. onVariableTrue -> Self -> VCE-modVariable -> [money] [subtract] [5] **If true, subtracts 5 dollars from the brick
2. onVariableTrue -> Player / Client -> VCE-modVariable -> [money] [add] [5] **If true, adds 5 dollars to the player
3. onVariableFalse -> Client -> ChatMsg / CenterPrint / BottomPrint -> "The brick has insufficient funds!" **Lets the player know that the brick storage doesn't have enough money
Hope this helps! Play around with it a bit and it will help you understand better. I also hope that my reply is clear because it is very late at night right now.
Regards,
Zyronn Sorrow