Ok, so recently i've come across UserInputService. and i just want to know.. is there a way to detect if a person held a keycode? not clicked? hold?
uis.TouchLongPress:Connect(function(input)
if input.KeyCode == Enum.KeyCode.E then
print('Works?')
end
end)
Somebody please, help me.

1 comment
https://developer.roblox.com/en-us/api-reference/property/InputObject/UserInputType to learn about the keycode stuff and https://developer.roblox.com/en-us/api-reference/class/UserInputService for general UIS knowledge