So I am trying to set the mouse to a crosshair for my fps game but it is not working. here is my code:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = 'rbxassetid://7136386297'
So I am trying to set the mouse to a crosshair for my fps game but it is not working. here is my code:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = 'rbxassetid://7136386297'
Try changing 'rbxassetid://7136386297'
to "http://www.roblox.com/asset?id=7136386297"
Sometimes that works for me, roblox asset links are strange and sometimes they differ apart, and only one of them works, if your problem is something else and not the mouse not loading, lemme know.
Can you send the actual link to the mouse icon? The ID from the URL is almost never the rbxassetid
, but there is an easy way to get the real rbxassetid
using an extension.
Here is the link.
This didn’t change anything.
7136386288
Should be your real ID.
Edit: Do rbxassetid://7136386288
7136386297
is the real Id.
rbxassetid
& library ID are different things. Did the one I gave you not work?
Nope. And I did not know that the two had different id’s. Thank you.
Alright, my last attempt is:
http://www.roblox.com/asset/?id=7136386288
If this doesn’t work, then I am not sure whats happening with the URL’s/ID’s
How did you find out what the rbxassetid was? I would like to know for the future.
Using BTRoblox, I did:
1.Open page
- Click this tree icon
- Hit decal
- Copied this URL in properties
BTRoblox also allows you to see scripts inside models, see the model as if it were in studio, and a bunch of other super nice features.