When I get a mining level, the popup in the chat box saying congratulations, breaks the script... The pop up stops the mining animation and then the script waits for inventory to be full, however mining has been stopped therefor inv will never be full.