Issues with replacing Cursor

I’ve been trying to replace my cursor, but it just doesn’t show the image. How can I fix this?

StarterCharacterScript; LocalScript

local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()

Mouse.Icon = "rbxassetid://17452606475"
3 Likes

I’ve just tried it, and it works just fine. But keep in mind the cursor image is way too big.

1 Like

For me, it doesn’t appear, it just makes the cursor invisible.

1 Like

Maybe restart your roblox studio?

1 Like

No, it doesn’t appear in game.

How are you changing the icon?

It is shown at the top of the post.

The issue is, it works in studio, but not in-game.

Maybe the image has to be owned by the game owner?

It is, aka me. So that is obviously not the reason why it is not working.

Put the script in StarterPlayerScripts, not in StarterCharacterScripts.

Putting it in StarterPlayerScripts gives the same result.

No. You can try it yourself.

Characters

I did, if you want to see what happens, join the game: https://www.roblox.com/games/17452383644/find-cubes

Alright, well still, why should it be in StarterCharacterScripts?

So that it would set the icon each time the player’s character loads.

There is no need for that, it only needs to set it once.

But either way, it still doesn’t set the icon. Instead, making it invisible.


This is what it looks like for me. Is there anything else in the script that might be keeping your code from running?

This is the new script:

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

Mouse.Icon = "rbxassetid://17460593841"

It makes the icon go invisible.