I’m trying to make it do event inside of if loop, however it doesn’t work with enum.keycode. Console legit not popping any errors neither anything happens.
local userInputService = game:GetService("UserInputService")
userInputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType then
if input.KeyCode == Enum.KeyCode.V then
-- funny stuff here
end
end
end)