Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Need help with understanding more about UserInputService?

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

1 answer

No sadly. You Can Use Player.LocalPlayer If Your Doing It On A Local Script

1 comment

0

wdym "no sadly" its possible but they just forgot some things (they are on the right track)

This discussion is preserved as it was. New answers, comments, and votes are closed.