I have this script that changes the mouse, no biggy, but I want to change that default clicking mouse whenever it hoves over something clickable.
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local defaultIcon = "http://www.roblox.com/asset/?id=14891607998"
local clickIcon = "http://www.roblox.com/asset/?id=17787998274"
mouse.Icon = defaultIcon
game:GetService("RunService").RenderStepped:Connect(function()
local target = mouse.Target
if target and target:FindFirstChildOfClass("ClickDetector") then
mouse.Icon = clickIcon
else
mouse.Icon = defaultIcon
end
end)
** You are now Level 2! **