So I was making a custom cursor and It works perfectly fine in the studio but when I try to use it on Roblox on PC, it doesn’t show up. But the strange thing is that it works on the Microsoft Store version of Roblox. I think this is a bug but I’m not sure so I have to verify.
I had the same issue. I don’t really remember how to solve this directly but you could try setting UserInputService.MouseIconEnabled to true. I haven’t had much luck with changing the pointer icon, so I don’t think this feature is intended to be accessible outside of a tool.
You could try making the cursor a UI that gets positioned to the mouse cursor position. Then disable the default mouse icon with UserInputService by doing
local UserInputService = game:GetService("UserInputService")
UserInputService.MouseIconEnabled = false
-- Position custom cursor to the mouse position (make sure to set the GUI anchor point!)
I would recommend using game:GetService("UserInputService").MouseIconEnabled = false and then just using a custom GUI with an image label for the cursor. This is how I’ve done it to bypass this bug.
By the way, this only works for first person games. You will have to make a seperate script to get the icon to follow the mouse position, but that isn’t too difficult.