I have done some math to figure out if the mouse icon should change, although when i set the cursor nothing seems to happen. The prints execute correctly, its just the mouse that doesnt seem to work.
the code (removed some parts to make it look more clean, but all important parts are there.):
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local UIS = game:GetService("UserInputService")
mouse.Move:Connect(function()
if (alot of conditions) then
print("Horizontal")
UIS.MouseIcon = "rbxasset://SystemCursors/SizeEW"
elseif (alot of conditions) then
print("Vertical")
UIS.MouseIcon = "rbxasset://SystemCursors/SizeNS"
else
print("Pointer")
UIS.MouseIcon = "rbxasset://SystemCursors/Arrow"
end
end)
I checked around in the files, and I can’t find any of the files that you have listed in your code.
Where are you trying to get them from?
edit: It seems that you got it from the documentation, and the images are seperate from the files for some reason. Disregard what I said above, and I’ll look for another explanation
edit2: Definitely seems to be an issue with the images you are using. When I tried accessing them to put in an image label, I was unable to get the images to show.
I’m not really sure what the go is with the documentation - it may just be out of date in which case I’ll submit a change to it.
You can use your own images if you wish. I believe the documentation does actually provide the images they reference so you can just right click → Save then upload them to Roblox
Looks like those cursors only work for plugins. Here is documentation. If you want to use these cursors, your best bet would be to reupload the images under your account.