Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Unbinding keys[UNANSWERED]?

For a while I was wondering how to disable some of the Humanoid Controller Keys . Every time I bind or unbind keys, the whole Roblox Studios Crashes.

EDIT1: Also I don't want to disable all the Controls, is there a way to to disable certain Controls?

EDIT2:

game:GetService("ControllerService").Instance:UnbindButton("w") -- Why won't it Unbind from Humanoid Controller.

2 answers

I couldnt find anything wrong, Its all Good, Also Im New To The Unbinding Keys Thing, Good Luck Though.

4 comments

0

Ok.

0

Technically this is not an answer so... I would reccomen changing it.

0

Thanks for the effort.

0

Hex, Look for a person Called " chrisfantasyhalo" He knows 10 Coding languages Including Lua, Ask him.

I'm not sure if this will work, but you might as well try.

for _, v in pairs(game:GetService("ControllerService")) do 
	if v:IsA("HumanoidController") then --You probably need to check for a HumanoidController first
		game:GetService("ControllerService").Instance:UnbindButton("w")
	end
end

This discussion is preserved as it was. New answers, comments, and votes are closed.