Need help with reenabling and disabling movement keys

So, I’ve been struggling to do this all day. I haven’t found any solutions to unbinding and rebinding the movement keys.

What i’m trying to achieve is Making the player unable to use the movement keys, while the character remains unaffected (in terms of walkspeed and jump power). The reason is for things like cutscenes where the player needs to move using walktopoint and stuff like that. I don’t have any examples of what I tried to do because I’m hardstuck at nothing.

This might be what you are looking for…

local LocalPlayer = game:GetService("Players").LocalPlayer
local Controls = require(LocalPlayer.PlayerScripts.PlayerModule):GetControls()

Controls:Disable() --Disables controls
Controls:Enable() --Enables controls again
1 Like