Hey,
Are you running the script on a MAC?
This is a known issue on the MAC platform and unfortunately I dont have access to one to fix the issue.
If you are on a mac, please run OSBot through terminal like so
java -jar 'OSBot-2.4.145.jar' -debug 5005
When you run the script, the terminal window should fill up with an error, if I can see this error I can fix the problem.