local userInputService = game:GetService("UserInputService")
userInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftControl then
print("LeftControl")
end
end)
COMMUNITY QUESTION
Why wont this print? I have no errors and i can't find help on these things elsewhere
1 answer
The script has to be run on a LocalScript; UserInputService is only available through the Client.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Run it on a localscript