static2240
(DevStatic)
#1
Today, I was trying to change the mouse icon but the image wouldn’t show up.
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local Image = "rbxassetid://5846588457"
Mouse.Icon = Image
Note this it in StarterGui as localscript.
Disrim
(Disrim)
#2
I don’t really know how to script but try this:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = ‘rbxassetid://123456789’
static2240
(DevStatic)
#3
that didn’t help, plus the image didn’t show up.
polill00
(polill00)
#4
I literally copied your code and it worked for me.
Before
After
Code
Your problem lies somewhere else inside your script.
EIitium
(Elitium)
#5
Try doing
Local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = ‘http://www.roblox.com/asset/?id= 5846588457’
Your code does work, except the image that you are using is almost identical to the default one.
Some useful resources are:
3 Likes