Le_JuiceBOX

ESP

Jul 8th, 2018 (edited)
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.76 KB | None | 0 0
  1.     local friends = {"DoseOfDopenessTV","Twiglillys"}
  2.     local applyCooldown = .25
  3.  
  4.     local gui = Instance.new("BillboardGui")
  5.     local Frame = Instance.new("Frame")
  6.     local TextLabel = Instance.new("TextLabel")
  7.    
  8.     -- Properties
  9.    
  10.     gui.Name = "ESP"
  11.     gui.Parent = game.Workspace
  12.     gui.AlwaysOnTop = true
  13.     gui.Size = UDim2.new(1, 0, 1, 0)
  14.     gui.StudsOffset = Vector3.new(0, 2, 0)
  15.    
  16.     Frame.Parent = gui
  17.     Frame.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  18.     Frame.BorderColor3 = Color3.new(0, 0, 0)
  19.     Frame.BorderSizePixel = 4
  20.     Frame.Size = UDim2.new(0.75, 0, 0.75, 0)
  21.    
  22.     TextLabel.Parent = Frame
  23.     TextLabel.Text = ""
  24.     TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  25.     TextLabel.BackgroundTransparency = 1
  26.     TextLabel.Size = UDim2.new(1, 0, 1, 0)
  27.     TextLabel.Font = Enum.Font.SourceSansBold
  28.     TextLabel.TextColor3 = Color3.new(0, 0, 0)
  29.     TextLabel.TextSize = 14
  30.     TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
  31.     TextLabel.TextStrokeTransparency = 0
  32.    
  33.     local function InsertESP()
  34.         for _, v in pairs(game:GetService("Players"):GetPlayers()) do
  35.             if v.Name ~= game:GetService("Players").LocalPlayer.Name and v.Character and v.Character:FindFirstChild("Head") then
  36.                 if v.Character:FindFirstChild("Head"):FindFirstChild("ESP") == nil then
  37.                     local clone  = gui:Clone()
  38.                     clone.Parent = v.Character.Head;
  39.                     for ind,friend in pairs(friends) do
  40.                             if v.Name == friend then
  41.                                 clone.Frame.BorderColor3 = Color3.fromRGB(255,255,255)
  42.                             end
  43.                     end
  44.                     wait(applyCooldown)
  45.                 end
  46.             end
  47.         end
  48.     end
  49.     InsertESP()
  50.     while wait(5) do
  51.         InsertESP()
  52.     end
Add Comment
Please, Sign In to add comment