I know you can do this by using this code below, but it also unbinds spacebar. I just want the WASD to be unbinded, not the spacebar.
--[SERVICES]--
local Players = game:GetService("Players")
--[VARIABLES]--
local Player = Players.LocalPlayer
local Controls = require(Player.PlayerScripts.PlayerModule):GetControls()
--[CODE]--
Controls:Disable()