Thanks to griffpatch for the Tutorial. EP1: https://www.youtube.com/watch?v=M1c5TcdITVs&t=264s&ab_channel=griffpatch
I learnt this from griffpatch. While making the project I noticed the script " Try Move "Steps * sin of direction" made my player move fast and go through walls. Note: Do not say anything rude.