Help whit frame following mouse

  1. What do you want to achieve? I wanna make a frame that apears when your mouse is behind a specific part/mesh, like the clickdetector mouse icon.

  2. What is the issue? I tried some but they aren´t efficient at all.

  3. What solutions have you tried so far? I tried using a clickdetector, but i need to do one for every single tool I make(The game is going to have 20-30 of these parts/meshes!)

You can put all of the parts in a folder. Than when the game runs, loop trough that folder and put everything in a table.

Then, in a RenderStepped event, you check if mouse.Target is equal to one of the items in a table. if so, you make the frame appear.

You’d be better off using mouse.Changed or mouse:GetPropertyChangedSignal(“Target”) instead.