--[[
    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
