Advertisement
InTesting

Anti Death Test

Apr 25th, 2020
1,484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.73 KB | None | 0 0
  1. --Anti death method 1:
  2.  
  3. local ChangeIndex = function(Tab,Ind,IsPrinted)
  4.     for a,b in pairs(Ind)do
  5.         local _,c = pcall(function()
  6.             Tab[a] = b;
  7.         end);
  8.     end;
  9. end;
  10. local Instance2 = function(CN,P)
  11.     local a = Instance.new(CN);
  12.     ChangeIndex(a,P,1);
  13.     return a;
  14. end;
  15. local ochar=owner.Character
  16. Instance2('Folder',{Parent = ocgar;});
  17. local a = ochar.Humanoid;
  18. a.Name = 'owo';
  19. a.MaxHealth = math.huge;
  20. a.Health = a.MaxHealth;
  21. local b = Instance2('Folder',{Parent=workspace;});-- risk: g.c
  22. ochar.Parent = b;
  23. --[[
  24.     Info: Because some people get humanoid by indexing name instead of using :findfirstchildwhichisa
  25.     Results:
  26.     2 Attempts
  27.     2 no deaths
  28.     0 deaths (excluding my scripts cuz I made a pretty good damage function)
  29.      
  30. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement