I'd like to know if there's a click and hold event for Click Detectors that fires when the left mouse button is held down for a certain amount of time, note that I'm not talking about a GUI click and hold but rather something for a physical part. I'v been searching for awhile and haven't found anything, maybe one of you could help me out?

3 comments

0

No event exists as far as I can tell, try using a surface gui that's invisible.

0

There's no event for it BUT you can code it. you can have a variable: startedClicking = tick() which contains the time they started clicking. to tell how long they've been clicking you can do tick() - startedClicking.

0

you can use mouse moved; https://developer.roblox.com/en-us/api-reference/event/GuiObject/MouseMoved to drag the gui when the player moves the mouse