--// Event Connections
L_22_.OnServerEvent:connect(function(L_45_arg1)
	if L_45_arg1 == L_7_.Value then
		L_18_ = false
		L_3_:WaitForChild('Engine'):WaitForChild('BodyGyro'):Destroy()
		L_3_:WaitForChild('Engine'):WaitForChild('BodyPosition'):Destroy()
		
		for L_46_forvar1, L_47_forvar2 in pairs(L_3_:WaitForChild('Engine'):GetChildren()) do
			if L_47_forvar2:IsA('Sound') then
				L_47_forvar2:Stop()
			end
		end
		
		for L_48_forvar1, L_49_forvar2 in pairs(L_3_:GetChildren()) do
			if L_49_forvar2.Name == 'Vents' then
				if L_49_forvar2:FindFirstChild('Smoke') then
					L_49_forvar2.Smoke.EmissionDirection = 'Back'
					L_49_forvar2.Smoke.Enabled = false
				end
			end
		end
		
		if L_15_ then
			L_15_:Destroy()
		end
	elseif L_45_arg1 ~= L_7_.Value then
		L_45_arg1:Kick('Stop Exploiting')
	end
end)

L_23_.OnServerEvent:connect(function(L_50_arg1)
	if L_50_arg1 == L_7_.Value then
		for L_51_forvar1, L_52_forvar2 in pairs(L_3_:GetChildren()) do
			if L_52_forvar2.Name == 'Vents' then
				if L_52_forvar2:FindFirstChild('Smoke') then
					L_52_forvar2.Smoke.EmissionDirection = 'Back'
					L_52_forvar2.Smoke.Enabled = true
				end
			end
		end
		L_18_ = true
	elseif L_50_arg1 ~= L_7_.Value then
		L_50_arg1:Kick('Stop Exploiting')
	end
end)

L_26_.OnServerInvoke = function(L_53_arg1, L_54_arg2, L_55_arg3, L_56_arg4, L_57_arg5, L_58_arg6, L_59_arg7, L_60_arg8)
	local L_61_
	if not L_61_ then
		L_61_ = Instance.new("Part", workspace)
		L_61_.Name = 'Crack'
		L_61_.FormFactor = "Custom"
		L_61_.TopSurface = 0
		L_61_.BottomSurface = 0
		L_61_.Transparency = 1
		L_61_.Anchored = true
		L_61_.CanCollide = false
		L_61_.Size = Vector3.new(0.5, 0, 0.5)
		L_61_.CFrame = CFrame.new(L_54_arg2) * CFrame.fromAxisAngle(L_55_arg3.magnitude == 0 and Vector3.new(1) or L_55_arg3.unit, L_56_arg4)
		L_61_.BrickColor = BrickColor.new("Really black")
		L_61_.Material = "SmoothPlastic"
	
		if L_60_arg8 == 'NonExplosive' then
			local L_62_ = Instance.new("Decal", L_61_)
			L_62_.Texture = "rbxassetid://64291977"
			L_62_.Face = "Top"
			game.Debris:AddItem(L_62_, 3)
			
			local L_63_ = Instance.new("PointLight", L_61_)
			L_63_.Color = Color3.new(0, 0, 0)
			L_63_.Range = 0
			L_63_.Shadows = true
			
			game.Debris:AddItem(L_61_, 3)
			
			local L_64_
			local L_65_
				
			if L_58_arg6 == "Part" then
				L_64_ = L_19_:WaitForChild("Spark"):clone()
				L_64_.Parent = L_61_
				L_64_.EmissionDirection = "Top"
				
				L_65_ = L_19_:WaitForChild("Smoke"):clone()
				L_65_.Parent = L_61_
				L_65_.EmissionDirection = "Top"
				
				L_64_.Enabled = true
				L_65_.Enabled = true
				
				game.Debris:AddItem(L_64_, 1)
				game.Debris:AddItem(L_65_, 1)
				
				delay(0.1, function()
					L_64_.Enabled = false
					L_65_.Enabled = false
				end)
			elseif L_58_arg6 == "Human" then		
				L_64_ = L_19_:WaitForChild("Blood"):clone()
				L_64_.Parent = L_61_
				L_64_.EmissionDirection = "Top"
				L_64_.Enabled = true
				
				game.Debris:AddItem(L_64_, 1)
				
				delay(0.1, function()
					L_64_.Enabled = false
				end)
			end
		elseif L_60_arg8 == 'Explosive' then
			local L_66_ = L_19_:WaitForChild('ExplosionSound'):clone()
			L_66_.Parent = L_61_
			L_66_:Play()	
			game.Debris:AddItem(L_61_, 3)
			local L_67_ = Instance.new('Explosion')
			L_67_.Parent = L_61_
			L_67_.DestroyJointRadiusPercent = 10
			L_67_.ExplosionType = Enum.ExplosionType.NoCraters
			L_67_.Position = L_61_.Position
		end;
	end
end;
	
L_25_.OnServerEvent:connect(function(L_68_arg1, L_69_arg2)
	for L_70_forvar1, L_71_forvar2 in pairs(game.Players:GetChildren()) do
		if L_71_forvar2:IsA('Player') and L_71_forvar2.PlayerGui:FindFirstChild('MainGui') and L_71_forvar2.PlayerGui.MainGui:FindFirstChild('Shading') then
			for L_72_forvar1, L_73_forvar2 in pairs(L_71_forvar2.Character:GetChildren()) do
				if L_73_forvar2:IsA('Tool') and L_73_forvar2:FindFirstChild('Resource') and L_73_forvar2.Resource:FindFirstChild('Events') and L_73_forvar2.Resource.Events:FindFirstChild('ServerFXEvent') then
					L_73_forvar2.Resource.Events.ServerFXEvent:FireClient(L_71_forvar2, L_69_arg2, L_68_arg1)
				end	
			end
		end
	end
end)

local L_30_
L_27_.OnServerEvent:connect(function(L_74_arg1, L_75_arg2, L_76_arg3)
	L_75_arg2:TakeDamage(L_76_arg3)
	if L_75_arg2.Health <= 0 and L_75_arg2 ~= L_30_ then
		if L_20_ and L_20_:FindFirstChild(L_74_arg1.Name) then
			local L_77_ = L_20_[L_74_arg1.Name]
			L_77_.Value = not L_77_.Value
		end
		L_30_ = L_75_arg2
	end
end)

L_28_.OnServerEvent:connect(function(L_78_arg1, L_79_arg2)
	local L_80_ = Instance.new("ObjectValue")
	L_80_.Name = "creator"
	L_80_.Value = L_78_arg1
	L_80_.Parent = L_79_arg2
	game.Debris:AddItem(L_80_, 3)
end)