If it still dont work, use the API.sleep function before you call the setMoney Function. i hope i could Hi, it says setMoney is not defined in test.js..