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

Change Mouse Cursor?{Edited}

I'm trying to change a mouses cursor, and i'm not sure why this isn't working, and i get the error cursor isnt a member of PlayerMouse. any clues?

local plr = game:GetService("Players").LocalPlayer
local mouse = plr:GetMouse()
mouse.Cursor = "http://www.roblox.com/asset/?id=278931719"

2 comments

0

It must be in a local script, either in the player's backpack or player gui.

0

it is

1 answer

✓ Accepted answer

Cursor is not correct member of PlayerMouse. Use mouse.Icon to correctly change your mouse cursor.

local plr = game:GetService("Players").LocalPlayer
local mouse = plr:GetMouse()
mouse.Icon = "http://www.roblox.com/asset/?id=278931719"

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