Its really janky.... The collision system is a mess.
This ain't my code.... you think I'm smart enough to come up with this stuff? No! I followed a tutorial by Funut. Go give him some love! https://www.youtube.com/channel/UCsID64th1ocXiIqcRLW_svg/videos