The cursor icon of the click detector is not working:
01 | local light = false |
02 | local core = script.Parent.Core |
03 |
04 | script.Parent.ClickDetector.MouseClick:Connect( function () |
05 | if light = = false then |
06 | light = true |
07 | core.BrickColor = BrickColor.new( "Bright yellow" ) |
08 | core.Material = "Neon" |
09 | script.Parent.ClickDetector.CursorIcon = "rbxassetid://2680187417" |
10 | else |
11 | light = false |
12 | core.BrickColor = BrickColor.new( "Medium stone grey" ) |
13 | core.Material = "Metal" |
14 | script.Parent.ClickDetector.CursorIcon = "rbxassetid://2680192246" |
15 | end |
16 | end ) |