when i return when the animation stops it doesnt return the module
function module.DomainPopUp(char, ani)
local anim = char.Humanoid.Animator:LoadAnimation(ani)
local stopped = anim.Stopped:Once(function()
if anim.TimePosition < anim.Length then
char:SetAttribute("ExpandingDomain", false)
char:SetAttribute("InSkill", false)
print("STOPPED")
return "stopped"; --this
end
end)
end