What do you want to achieve? I want to have a dash system where it’s Q to dash and whichever way you walk, you dash to.
What is the issue? Everytime I press Q to dash, the dash direction goes the wrong way, it’s like randomizing the dash direction.
What solutions have you tried so far? I tried asking other devs, they don’t know what’s wrong, I followed the tutorial and it’s all flawless. I also tried changing CFrame values but that doesn’t work.
You want to do Multiplyer = Character.HumanoidRootPart.CFrame:ToWorldSpace(Multiplyer) before you apply it, so that instead of applying along the world XYZ, it applies along the player’s XYZ.
You can use Humanoid.MoveDirection to determine which way to push the player. Since it is normalized by default, all you have to do to adjust the speed / force of the push is to simply multiply the MoveDirection vector by a number. The higher the number, the stronger the push.