PHP код:
CastingBarFrame:UnregisterAllEvents()
CastingBarFrame:Hide() 
закинь в какой-то аддон