I’m making an item for TTT which can see through walls, like a heat sensor sorta or Stalker vision? Like you can see the outline / glow of a player or npc. Is this done with color or materials? How can I do this? Thanks
P.S. I also have this issue I don’t know whta to do with.
for k,v in pairs ( ents.GetAll() ) do – 169
if string.sub( ( v:GetModel() or “” ), -3) == “mdl” then – 170
local r,g,b,a = v:GetColor() – 171
ERROR: Hook ‘Stalkervision’ Failed: [@lua\autorun ests.lua:170] Tried to use a NULL entity!
If I remove 170 and the end to it, then it does that error on 171. And this only happens on TTT but not any other gamemode :S