구글링으로 짜집기 했는데 안되서 뭐가 틀린건지 좀 알려주실분

local function OnEvent(self, event, isLogin, isReload)
if isLogin or isReload then
SetCVar("AutoPushSpellToActionBar", 0)
SetCVar("NameplatePersonalShowAlways", 1)
C_NamePlate.SetNamePlateFriendlySize(80, 40)
local U=UIErrorsFrame;U:UnregisterAllEvents()U:RegisterEvent("SYSMSG")U:RegisterEvent("UI_INFO_MESSAGE")
end
local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:Setscript("OnEvent", OnEvent)