local n=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local M=TweenInfo.new(2,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)local h=TweenInfo.new(4,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)local P={}local L={}local V={}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(h)if h then L.Transparency=.2 local h=n:Create(f.Body.DRLs.DRL,M,L)h:Play()else L.Transparency=1 local h=n:Create(f.Body.DRLs.DRL,M,L)h:Play()end end V.drlFade=function(n)drlFade(n)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.2
			local a = ts:Create(car.Body.DRLs.DRL, fadeDRL, goal2)
			a:Play()
		else
			goal2.Transparency = 1
			local a = ts:Create(car.Body.DRLs.DRL, fadeDRL, goal2)
			a:Play()	
		end
	end

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