Click Detector Not Working?

So I have a custom grey cursor for my game which works just find but I also have an ordinary click detector with another cursor but when you hover over it the 1st one still shows. A thing I noticed is when I moved the main cursor off the page you could see the green one on the game screen.

This is the script in Starter Player Scripts that give them the 1st cursor -

local mouse = game.Players.LocalPlayer:GetMouse()

mouse.Icon = 'rbxassetid://5218340354'

I had this issue while developing a custom cursor system for my own game. My only solution was just to implement code that detected if your mouse was over a ClickDetector.

1 Like

Yours would do this?
robloxapp-20200807-1350035.wmv (732.0 KB)
(click detector is the dark hole in the wall)

Is it a Server Script or a Local Script? You can’t use LocalPlayer in Server Scripts.

Local script, that isn’t the problem with it.