Event.OnServerEvent:Connect(function(Y,Q,a)print("\069\120\104\097\117\115\116\080\097\114\116\105\099\108\101")if a then local Y=tostring(math.random(1,3))ExhaustPart["\066\097\099\107\102\105\114\101"..Y]:Play()ExhaustPart.PointLight.Enabled=true ExhaustPart[Q].Enabled=true if Q=="\070\108\097\109\101\115\083\109\097\108\108"then ExhaustPart.PointLight.Range=6 ExhaustPart.PointLight.Brightness=5 ExhaustPart.Sparks.Enabled=false else ExhaustPart.PointLight.Range=8 ExhaustPart.PointLight.Brightness=12 ExhaustPart.Sparks.Enabled=true end else ExhaustPart[Q].Enabled=false ExhaustPart.PointLight.Enabled=false end end)local Y=script.Parent.Parent local Q=Y.Body.ExhaustFlames2 local a=script.Parent

Event.OnServerEvent:Connect(function(player,ExhaustParticle,FireBool)
	
	print("ExhaustParticle")
	
	if FireBool then
		
		local RanNum = tostring(math.random(1,3))
		ExhaustPart["Backfire"..RanNum]:Play()
		ExhaustPart.PointLight.Enabled = true
		ExhaustPart[ExhaustParticle].Enabled = true
		
		if ExhaustParticle == "FlamesSmall" then 
			
			ExhaustPart.PointLight.Range = 6  
			ExhaustPart.PointLight.Brightness = 5
			ExhaustPart.Sparks.Enabled = false
			
		else 
			
			ExhaustPart.PointLight.Range = 8
			ExhaustPart.PointLight.Brightness = 12
			ExhaustPart.Sparks.Enabled = true
			
		end	
		
	else
		
		ExhaustPart[ExhaustParticle].Enabled = false
		ExhaustPart.PointLight.Enabled = false
		
	end	
	
end)


local car = script.Parent.Parent
local ExhaustPart = car.Body.ExhaustFlames2
local Event = script.Parent
