function ReviveMe(_,activator) --local rand = math.random(6,12) activator:AddHealth(400,false) activator:RemoveCond(70) activator:AddCond(77,8) timer.Simple(6, function() activator:PlaySound("Halloween.HeadlessBossAlert") activator:PlaySound("Halloween.HeadlessBossAlert") activator:PlaySound("Halloween.HeadlessBossAlert") end) timer.Simple(7, function() activator:PlaySound("Halloween.HeadlessBossBoo") activator:PlaySound("Halloween.HeadlessBossBoo") end) timer.Simple(8,function() activator:PlaySound("Halloween.HeadlessBossBoo") activator:PlaySound("Halloween.HeadlessBossBoo") activator:SetAttributeValue("attach particle effect static",nil) for _, others in pairs(ents.FindInSphere(activator:GetAbsOrigin(),147)) do if others:IsPlayer() and (others.m_iTeamNum == 2) then others:StunPlayer(6,0.67,TF_STUNFLAG_GHOSTEFFECT|TF_STUNFLAG_THIRDPERSON|TF_STUNFLAG_SLOWDOWN,activator) others:PlaySoundToSelf("Halloween.Merasmus_Stun") end end end) end