function VehicleLightsComponent.toggleLights(a,R,l)for R,a in pairs(R)do a.Material=l and Enum.Material.Neon or Enum.Material.SmoothPlastic;(a:FindFirstChildWhichIsA("\076\105\103\104\116")).Enabled=l end end
--[[
    Toggles light visibility in specified group
]]
function VehicleLightsComponent:toggleLights(group, isOn)
	for _, lightPart in pairs(group) do
		lightPart.Material = isOn and Enum.Material.Neon or Enum.Material.SmoothPlastic
		lightPart:FindFirstChildWhichIsA("Light").Enabled = isOn
	end
end
