Custom Cursor only working in ROBLOX Studio

I am currently trying to add a custom cursor to my game, but it only works in studio. When I try running my game in regular roblox it just uses the Default Cursor.

Is it something with my code?

I haven’t found any solutions.

local Players = game:GetService("Players")

local mouse = Players.LocalPlayer:GetMouse()

mouse.Icon = "http://www.roblox.com/asset?id=10493148993"

everything seems fine, I think you should publish it again or close Roblox Studio.

sorry if that doesn’t work

1 Like

The asset was recently uploaded, it was likely still being moderated when you tested.

Unfortunately still doesn’t work.

That’s really weird maybe change this.

mouse.Icon = "http://www.roblox.com/asset?id=10493148993"

To this

mouse.Icon = "rbxassetid://10493148993"

wont do much honestly.

True, but it’s worth a try.