Event.OnServerEvent:Connect(function(M,L,o)print("\069\120\104\097\117\115\116\080\097\114\116\105\099\108\101")if o then local M=tostring(math.random(1,3))ExhaustPart2["\066\097\099\107\102\105\114\101"..M]:Play()ExhaustPart2.PointLight.Enabled=true ExhaustPart2[L].Enabled=true if L=="\070\108\097\109\101\115\083\109\097\108\108"then ExhaustPart2.PointLight.Range=6 ExhaustPart2.PointLight.Brightness=5 ExhaustPart2.Sparks.Enabled=false else ExhaustPart2.PointLight.Range=8 ExhaustPart2.PointLight.Brightness=12 ExhaustPart2.Sparks.Enabled=true end else ExhaustPart2[L].Enabled=false ExhaustPart2.PointLight.Enabled=false end end)
--Serverside logic
Event.OnServerEvent:Connect(function(player, ExhaustParticle, FireBool)
	print("ExhaustParticle")

	if FireBool then
		local RanNum = tostring(math.random(1, 3))
		ExhaustPart2["Backfire" .. RanNum]:Play()
		ExhaustPart2.PointLight.Enabled = true
		ExhaustPart2[ExhaustParticle].Enabled = true

		if ExhaustParticle == "FlamesSmall" then
			ExhaustPart2.PointLight.Range = 6
			ExhaustPart2.PointLight.Brightness = 5
			ExhaustPart2.Sparks.Enabled = false
		else
			ExhaustPart2.PointLight.Range = 8
			ExhaustPart2.PointLight.Brightness = 12
			ExhaustPart2.Sparks.Enabled = true
		end
	else
		ExhaustPart2[ExhaustParticle].Enabled = false
		ExhaustPart2.PointLight.Enabled = false
	end
end)
