I figured it out!
Lua Code:
local noloadingscreen = true
local function OnEvent(self, event, isInitialLogin, isReloadingUi)
if isInitialLogin or isReloadingUi then
else
noloadingscreen = nil
C_Timer.After(2, function()
noloadingscreen = true
end)
end
end
if subevent == "SPELL_AURA_APPLIED" and destGUID == playerGUID and noloadingscreen == true then
a:SetTimer("buffup", 1)
a.Sound(SoundPackValue("buff_on_self"))
end
Did the job.