So Basically, The GUI Works and everything, but when it stops, the part Remains NEONed and not Plastic, Why?
local Red = workspace.Model.Car.Body.Red
local Blue = workspace.Model.Car.Body.Blue
local lightsFlick = false
script.Parent.MouseButton1Click:Connect(function()
if lightsFlick == false then
lightsFlick = true
while lightsFlick == true do
wait(0.1)
Red.Material = Enum.Material.Plastic
Blue.Material = Enum.Material.Neon
wait(0.1)
Blue.Material = Enum.Material.Plastic
Red.Material = Enum.Material.Neon
end
end
if lightsFlick == true then
lightsFlick = false
print("False")
Red.Material = Enum.Material.Plastic
Blue.Material = Enum.Material.Plastic
Red.Reflectance = 0
Blue.Reflectance = 0
end
end)

3 comments
output?
"False"
The while loop has a condition that means it will end when lightsflick is false, the second if-then statement is thus unnecessary, just remove Line 19 and Line 26