I’m trying to unbind an action using a unique string, rather storing it as a variable, it works binding it but not when unbinding, I bind/unbind using remote events to the client.
This is the that I’m using (a similar one.)
ContextActionService:BindAction(
"NoMovement",
function()
return Enum.ContextActionResult.Sink -- need to explicitly return this
end,
false,
unpack(Enum.PlayerActions:GetEnumItems())
)
--
ContextActionService:UnbindAction("NoMovement")