The code and its explanation can be found inside the project. Code is free to use. You can use it without tagging me.
Upon request @Nelgamer123