Sorry the code quality is crap. Feel free to post questions on the Godot forums and tag me (@dragonforge-dev).
Thanks for this!