Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function AntiDamage(ply,killer)
- local Ents=ents.FindInBox(Vector(-3200,-1024,4156), Vector(-5247,-3711,210))
- for I,E in pairs(Ents) do
- if killer == E and killer != ply and killer:IsValid() then
- killer:PrintMessage(HUD_PRINTCENTER,"DESU DESU DESU")
- return false
- end
- local Entst=ents.FindInBox(Vector(1113, 784, 56), Vector(645, -890, -137))
- for k,v in pairs(Entst) do
- if killer == v and killer != ply and killer:IsValid() then
- killer:PrintMessage(HUD_PRINTCENTER,"DESU DESU DESU")
- return false
- end
- if ply == v and killer != ply and killer:IsValid() then
- killer:PrintMessage(HUD_PRINTCENTER,"DESU DESU DESU")
- return false
- end
- if ply == E and killer != ply and killer:IsValid() then
- killer:PrintMessage(HUD_PRINTCENTER,"DESU DESU DESU")
- return false
- end
- if ply == E then
- return false
- end
- end
- end
- end
- hook.Add("PlayerShouldTakeDamage","AntiDamage",AntiDamage)
Add Comment
Please, Sign In to add comment