This line should destroy all user input but for some reason it doesn't.
for _,controller in pairs(game:GetService("ControllerService"):GetChildren()) do controller:Destroy() end
The piece of code is located inside of a local script.
This line should destroy all user input but for some reason it doesn't.
for _,controller in pairs(game:GetService("ControllerService"):GetChildren()) do controller:Destroy() end
The piece of code is located inside of a local script.
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
The script also gives no errors.
local or server
Just disable their input. You don't need to destroy anything.
You are trying to destroy a service.