Take out all of that UnitExists and :Hide() / :Show() stuff from your combat script. Just parent the panel to the frame you want it to show with.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh
|