Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Change Mouse Cursor?{Edited}

Asked by 9 years ago

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"
0
It must be in a local script, either in the player's backpack or player gui. legobuildermaster 220 — 9y
0
it is ghosteffectz 115 — 9y

1 answer

Log in to vote
1
Answered by
Mokiros 135
9 years ago

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"
Ad

Answer this question