Local script won't change mouse icon

Hello.

I’m trying to change the local player’s mouse icon with a localscript. I’ve tried putting it in StarterGui, StarterPlayerScripts and StarterCharacterScripts but it doesn’t seem to work. This is the script;

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

Mouse.Icon = "http://www.roblox.com/asset?id=8185634701"

I’ve also tried changing the Mouse.Icon value to this;

Mouse.Icon = "rbxassetid://8185634701"

Both do not work. Does anyone know why or can help me?

1 Like

Nevermind, the reason as to why it didn’t work is cause the ID has to be an image, not a decal. Roblox does not specify this in their documentation.

1 Like