The cursor icon of the click detector is not working:
local light = false local core = script.Parent.Core script.Parent.ClickDetector.MouseClick:Connect(function() if light == false then light = true core.BrickColor = BrickColor.new("Bright yellow") core.Material = "Neon" script.Parent.ClickDetector.CursorIcon = "rbxassetid://2680187417" else light = false core.BrickColor = BrickColor.new("Medium stone grey") core.Material = "Metal" script.Parent.ClickDetector.CursorIcon = "rbxassetid://2680192246" end end)