Advertisement
LuaExploitz

Esp

Nov 25th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.41 KB | None | 0 0
  1. local Players = game:service("Players")
  2. local LocalPlayer = Players.LocalPlayer
  3. function Esp(player, username)
  4.     if player ~= Players.LocalPlayer and player.Character then
  5.     local torso = player.Character:FindFirstChild("Torso")
  6.     if torso then
  7.     local base = Instance.new("BillboardGui", workspace.CurrentCamera)
  8.     local esP = Instance.new("Frame", base)
  9.     base.AlwaysOnTop = true
  10.     base.Enabled = true
  11.     base.Size = UDim2.new(4.5,0,6,0)
  12.     base.Name = username
  13.     base.Adornee = torso
  14.     base.StudsOffset = Vector3.new(0, -0.6, 0)
  15.     esP.BackgroundColor3 = Color3.new(0,255,255)
  16.     esP.BackgroundTransparency = 0.8
  17.     esP.BorderColor3 = Color3.new(0,0,0)
  18.     esP.BorderSizePixel = 1
  19.     esP.Size = UDim2.new(1,0,1,0)
  20.     end
  21.     end
  22. end
  23.  
  24. function CheckEsp()
  25.     for x,player in pairs(Players:GetChildren()) do
  26.     if player then
  27.         if player.TeamColor ~= LocalPlayer.TeamColor then
  28.         local char = player.Character
  29.         if char then
  30.             local torso = char:FindFirstChild("Torso")
  31.             if torso then
  32.                 local currentcam = workspace.CurrentCamera
  33.                 local playerName = player.Name
  34.                 if currentcam:FindFirstChild(playerName) == nil then
  35.                     Esp(player, playerName)
  36.                 end
  37.             end
  38.         end
  39.         end
  40.     end
  41.     end
  42. end
  43.  
  44. while wait(1) do
  45.     CheckEsp()
  46. end
  47.  
  48. --1337IsBack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement