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.

4 comments

0

The script also gives no errors.

0

local or server

0

Just disable their input. You don't need to destroy anything.

0

You are trying to destroy a service.