local z=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local T=TweenInfo.new(2,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)local P=TweenInfo.new(4,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)local E={}local K={}local o={}local f=script.Parent.Parent.Parent.Parent script.Parent.Parent.Parent.Parent.Electrics.Changed:connect(function()if script.Parent.Parent.Parent.Parent.Electrics.Value==true then drlFade(true)else drlFade(false)end end)function drlFade(P)if P then K.Transparency=.8 local P=z:Create(f.Body.DRLs.DRL1,T,K)P:Play()else K.Transparency=1 local P=z:Create(f.Body.DRLs.DRL1,T,K)P:Play()end end o.drlFade=function(z)drlFade(z)end

local ts = game:GetService("TweenService")
local fadeDRL = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)
local fadeDRL2 = TweenInfo.new(4, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)
local goal = {}
local goal2 = {}
local F = {}
local car = script.Parent.Parent.Parent.Parent

 script.Parent.Parent.Parent.Parent.Electrics.Changed:connect(function()
	if script.Parent.Parent.Parent.Parent.Electrics.Value == true then
		drlFade(true)
	else
		drlFade(false)
	end
end)

function drlFade(bool)
		if bool then
			goal2.Transparency = 0.8
			local a = ts:Create(car.Body.DRLs.DRL1, fadeDRL, goal2)
			a:Play()
		else
			goal2.Transparency = 1
			local a = ts:Create(car.Body.DRLs.DRL1, fadeDRL, goal2)
			a:Play()	
		end
	end

F.drlFade = function(bool)
	drlFade(bool)
end
