This is only an engine. Feel free to remix this and use it in your project and make some things better like in the collision detection code. Just don't forget to credit me. (^v^)
UPDATE: Fixed it by making holding not do anything