CapsAdmin

Untitled

Jun 7th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.88 KB | None | 0 0
  1. timer.Create("fuckoff", 0.2, 0, function()
  2.     local me = LocalPlayer()
  3.     for key, ent in pairs(ents.FindInSphere(me:GetPos(), 500)) do
  4.         if ent:GetClass() == "prop_ragdoll" and ent:GetModel():lower():find("combine") then
  5.             RunConsoleCommand("gmod_tool", "remover")
  6.             timer.Simple(0.2, function()
  7.                 if ent:IsValid() then
  8.                     me:SetEyeAngles((ent:GetPos() - me:EyePos()):Angle())
  9.                     timer.Simple(0.1, function()
  10.                         if me:GetEyeTrace().Entity == ent then
  11.                             RunConsoleCommand("+attack")
  12.                             timer.Simple(0.1, function()
  13.                                 RunConsoleCommand("-attack")
  14.                             end)
  15.                         end
  16.                     end)
  17.                 end
  18.             end)
  19.         end
  20.            
  21.     end
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment