Help with Context Action Service

im trying to disable 1 Key in keyboard so player cannot equipped tool by pressing it, why this is not working?

local ContextActionService = game:GetService("ContextActionService")

ContextActionService:BindActionAtPriority("Disable", function()
    return Enum.ContextActionResult.Sink
end, false, Enum.ContextActionPriority.High.Value, Enum.KeyCode.One)
2 Likes