New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Why isn't this line of code destroying user input?

Asked by
H3kken -4
10 days ago

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.

0
The script also gives no errors. H3kken -4 — 10d
0
local or server KDarren12 690 — 10d
0
Just disable their input. You don't need to destroy anything. BashCaster 2329 — 10d
0
You are trying to destroy a service. darieus887 2 — 10d

Answer this question