Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I change mouse icon?

here's my script:

player = game.Players.LocalPlayer
wait(1)
mouse = player:GetMouse()
mouse.Icon = "rbxassetid://240302587"

it's supposed to be a white dot because the normal arrow cursor doesnt really fit in the game i'm making, and i get this error message: 08:07:37.304 - Image "https://assetdelivery.roblox.com/v1/asset?id=240302587" failed to load in "Mouse Cursor": Request failed

2 comments

0

Try this id: 240302586

0

too big is there a way to make it smaller or something

1 answer

✓ Accepted answer

Its probably something to do with the image, and you do not need to add the wait function.

To simplify your code you can do the following, this will not give you an error. If it does it probably something with the image id.

local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = "http://www.roblox.com/asset?id=163023520" -- Dragon Icon.

1 comment

0

for some reason the dragon picture and the id Kiriot22 gave me seems to work. so probably just the image i'm trying to use. Ill fnd something else but thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.