I am currently doing
local PlayerControls = require(Player.PlayerScripts:WaitForChild("PlayerModule")):GetControls()
PlayerControls:Enable(active)
However, when I re-enable it, while I am still holding down WASD, my character doesn’t move. This, to me, is terrible UX design, and will make combat in my game incredibly frustrating. I want to be able to stop the player from moving, but when it is enabled again, if they are holding down movement keys, they should continue to move.
Quick video, shows that when I do a combo with my sword, I disable movement. But when it stops, my character is now stuck (this is because I am still holding WASD keys)
For me to move, I have to let go, and press them again. I DON’T want this