The glitching is fixed. The player movement is smoother now. Now working on the other parts of the game. And will update it as fast as I can.
Thanks for understanding!