Mouse Icon Doesn't Changed

Today, I was trying to change the mouse icon but the image wouldn’t show up.

local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local Image = "rbxassetid://5846588457"
Mouse.Icon = Image

Note this it in StarterGui as localscript.

1 Like

I don’t really know how to script but try this:

local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = ‘rbxassetid://123456789’

that didn’t help, plus the image didn’t show up.

I literally copied your code and it worked for me.
Before
image
After
image
Code
image

Your problem lies somewhere else inside your script.

1 Like

Try doing
Local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = ‘http://www.roblox.com/asset/?id= 5846588457’

Your code does work, except the image that you are using is almost identical to the default one.

Some useful resources are:

3 Likes