ImprovedClickDetector - a ClickDetector system that fixes some of the Roblox's flaws

This is a fork of commitblue’s customclickdetector. You can find the documentation there. Note that it is not perfect and feedback is appreciated

Reasons to use it:

  1. Use click detectors with tools equipped
  2. More events

Differences between commitblue’s module and mine:

  1. Class now creates new instances with their own signals, which means that you can now set up new click detectors for different objects in a for loop (you couldn’t do that before.)
  2. Works in first person (Didn’t work before)
  3. Is more lightweight because it uses Mouse.Move instead of RunService.Heartbeat
  4. Those who don’t know how to use Rojo and Wally don’t have to go through 7 rings of hell in order to set it up correctly (based on a true story…)

Here’s the module file. Have a nice day!
ImprovedClickDetector.rbxm (4.0 KB)

6 Likes

Can you apply a video to the post so people can see how it works before using?

2 Likes

The reason I did this was because unhovering would not fire if the player minimized the roblox tab.

does this fix the issue where if the part is moving, you can’t click it?