drilinz
(drilinz)
#1
Basically, I have this script and it’s meant to change the mouse cursor but it’s not working. Keep in mind, it’s for a first person game.
Script:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = "http://www.roblox.com/asset?id=10391826460"
Try this, it’s not working because after asset you forgot to add “/”
game.Players.LocalPlayer:GetMouse().Icon = "http://www.roblox.com/asset/?id=10391826460";
Make sure to mark it as a solution if it helped!
drilinz
(drilinz)
#3
Unfortunately, it still does not work.
Might be a problem with your id, where is the script located?
make sure it’s a local script to.
msix29
(msix29)
#5
Why dont you try
rbxassetid:\\10391826460
Im not sure how it is actually written im just giving u an idea
drilinz
(drilinz)
#6
It is a local script and located in starter player scripts, previously located in startergui.
Try this script
local Mouse = game.Players.LocalPlayer:GetMouse()
Mouse.Icon = "rbxassetid://youridhere"
This does work and I used it with my custom id if it doesn’t work then the there is a problem with your id.
drilinz
(drilinz)
#8
I have tried that, I guess it’s my ID still publishing or something.
Add a Local script inside startergui
local Mouse = game.Players.LocalPlayer:GetMouse()
Mouse.Icon = "rbxassetid://172802980"
Proof that it actually works (Took the cursor from the toolbox)
if it doesn’t work it’s your image problem
Forummer
(Forummer)
#10
That’s the image’s decal asset ID (on-site catalog ID) not its image asset ID, try the following instead.
"rbxassetid://10391826418"