Erictemponi Jan 21st, 2020 236 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function AnnounceBossKilled (event, killer, killed)
  2.     if (killed:IsWorldBoss() == true) then
  3.         if (killer:GetGender() == 0) then
  4.             local message = "|CFF7BBEF7[Boss Announcer]|r:|cffff0000 "..killer:GetName().."|r and his group killed world boss |CFF18BE00["..killed:GetName().."]|r !!!"
  5.             SendWorldMessage(message)
  6.         else
  7.             local message = "|CFF7BBEF7[Boss Announcer]|r:|cffff0000 "..killer:GetName().."|r and her group killed world boss |CFF18BE00["..killed:GetName().."]|r !!!"
  8.             SendWorldMessage(message)
  9.         end
  10.     end
  11. end
  12. RegisterPlayerEvent(7, AnnounceBossKilled)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand