As you may know from my previous post I am trying to make a game with cars in but one problem I am "suffering" from is that I am using a light where when you click it should flash.
while true do
script.Parent.ClickDetector.MouseClick:Connect(function()
script.Parent.Material = ("Neon")
wait(.5)
script.Parent.Material = ("Plastic")
end
please help me!
hierachy: Blue ClickDetector Script
as simplified

4 comments
Edited for code block.
You shouldn't need the while loop at all
This is just put together badly.