I am trying to turn a player’s cursor invisible, however I tried uploading a blank decal to Roblox as the cursor and it did not work. How would I do this?
Here is the script that is doing it:
local mouse = game.Players.LocalPlayer:GetMouse()
if script.Parent.Deployed.Value == true then
script.Parent.Base.Visible = true
mouse.Icon = "rbxassetid://6596941065"
else
mouse.Icon = "http://www.roblox.com/asset/?id=6418289356"
script.Parent.Base.Visible = false
end
script.Parent.Deployed.Changed:Connect(function()
if script.Parent.Deployed.Value == true then
script.Parent.Base.Visible = true
mouse.Icon = "rbxassetid://6596941065"
else
mouse.Icon = "http://www.roblox.com/asset/?id=6418289356"
script.Parent.Base.Visible = false
end
end)