Disabling All Default Controls

I want to disable all default actionbindings that are possible to disable. What is the easiest to go about this? Thanks!

1 Like

Can I know what you’re trying to achieve? Since there may be an easier way to what you’re trying to do!

But anyways for your answer you have to use Context action service and disable the default controls!

Is there a way I can get all of the bindings and then just loop through them and disable them?

1 Like

I believe this might help you!

I understand how to disable certain actions. I just want to be able to get a list of all active action binds. Is that possible? Kind of like when you open developer console and it shows the list in a tab, but from a local script.

1 Like

You can use this! But am not sure if it shows core actions as well.

For some reason this only returns the emotes bind action which I already have disabled with UserEmotesEnabled and StarterGui:SetCoreGuiEnabled(). I have a script that prints this in starter player scripts. Because my game is a gui based game, I don’t want any user input possible. I already have it so the player doesn’t spawn in and the starter gui is copied via script to the user which disables most of the controls. Any other ideas?

1 Like

Wait, if it’s just gui based why are you going to such troubles? Am pretty sure that the gui will cover the screen, so just anchor the HumanoidRootPart that’ll prevent the player from doing much, practically anything.

Trying to disable the all the default controls of the controller. It would cause problems if you tried connecting a controller.

1 Like

You can use PlatformStand to stop the animations and movement and anchor the HumanoidRootPart, if you don’t anchor it, this happens:
https://gyazo.com/80c76aaf34494f20241a6b27979d32db

1 Like

That’s not my problem anymore. I turned off character autoloads and then I just have a script that copies the gui to the player. I have the camera set to scriptable which fixes a lot of stuff. I’m mainly trying to disable the controller from using any of it’s input which is causing problems.

1 Like

Hmmm why not just disable the player scripts?

If you play your game on roblox studio you’ll see that a new set of scripts have been added under the player, mess around with it.

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