Thanks in advance!
Form Property Gold Auto ; Assign to the Gold001 itemint Property Cost Auto ; How much does this cost?ObjectReference Property Seller Auto ; Who is selling this service?If Game.GetPlayer().GetItemCount(Gold) >= Cost Game.GetPlayer().RemoveItem(Gold,Cost,false,Seller) ; Do whatever was being paid for here.else Debug.Notification("Not enough Gold!") ;(make the transaction fail)endif
(I am such a noob) 
(I am such a noob) 