SHARE
TWEET

anti stupid

NoobieNoober2123 Aug 14th, 2019 (edited) 278 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(not isGay)then
  2.     getgenv().isGay = true
  3.     local mt = getrawmetatable(game);
  4.     local old = mt.__index;
  5.     setreadonly(mt, false);
  6.     mt.__index = function(t, k,...)
  7.  
  8.         if(k == "TakeDamage" and t.Parent ~= nil and t.Parent.Name ~= nil and t.Parent.Name == game.Players.LocalPlayer.Name)then
  9.             return function(...)
  10.                 local args = {...}
  11.                 warn("TakeDamage attempted, Damage:"..args[2])
  12.                 return
  13.             end
  14.         end
  15.         if(k == "Kick" and t.Parent ~= nil and t.Parent.Name ~= nil and t.Parent.Name == "Players" and t.Name ~= nil and t.Name == game.Players.LocalPlayer.Name)then
  16.             return function(...)
  17.                 local args = {...}
  18.                 warn("Kick attempted! Reason:"..args[2])
  19.                 return
  20.             end
  21.         end
  22.  
  23.     return old(t, k);
  24.     end
  25.     warn("AntiKick/TakeDamage enabled!")
  26. else
  27.     warn("Already executed, stupid.")
  28. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top