local ENT = {} local base = nrequire("sh_basenpc.lua") ENT.Type = "anim" ENT.Base = "base_nextbot" local ent_m = {__index = base} hook.Add("artery_core_loaded","load_ent_art_npc",function() print("At the time artery_core_loaded is called, ENT is", ENT) setmetatable(ENT,ent_m) end) return ENT