I’m struggling with a script that is supposed to change the Player’s cursor to any ID when mouse is hovering on a ‘part’.
local plr = game:GetService("Players").LocalPlayer
local mouse = plr.GetMouse()
if mouse.Target:IsA("Part") then
mouse.Icon = 'rbxassetid://6764432293'
end
local plr = game:GetService("Players").LocalPlayer
local mouse = plr.GetMouse()
while task.wait() do
if mouse.Target ~= nil and mouse.Target:IsA("Part") then
mouse.Icon = 'rbxassetid://6764432293'
end
end