so I really like the guns in the roblox game “Isle” and was wondering how I’m meant to approach this script in order to create something similar. I thought about using ClickDetector since the guns work by hovering your mouse over your target, clicking them and then an animation plays where you fire the gun. However, I feel like that wouldn’t work since the guns also detect if you unequip them or the target hides behind an obstacle.
What would be the best way to tackle this?