Issue with clickdetector

  1. What do you want to achieve?
    Fix something about the mouse cursor

  2. What is the issue?
    It won’t change

  3. What solutions have you tried so far?
    As much as possible

Basically, whenever i try changing a clickdetector’s cursorIcon from server script it just won’t change and stay the same. Not only is the cursor not visible for the player, but the cursorIcon property itsself won’t change as well

1 Like

Do you mind showing the script you are using?

1 Like

By the way, you can’t use a serverscript to change the player’s mouse icon, try switching the code over to a localscript.

3 Likes

Use a local script for It. And show the script you already have

It has nothing to do with the local mouse icon. It’s about a clickdetecor cursoricon

bandicam 2022-10-29 14-31-32-978

script.Parent.ClickDetector.CursorIcon = "rbxassetid://11374914745"

1 Like

What do you need the script for?

To change the clickdetector’s cursor. However it doesn’t work

Okay. I fixed it.
I learned that a cursorIcon of a clickdetector can only be changed from the client side.
So i basically fire all the clients to change that single cursorIcon, so that it changes for everyone.
Thank you for helping.

No problem, have a good day. Goodluck on your game!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.