Advertisement
jevbev

Untitled

Jan 18th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2.  
  3.  
  4.  
  5. print("ESP active")
  6. wait(.1)
  7. script.Parent = plr.PlayerScripts
  8. while true do
  9.  
  10. local plrs = game.Players:GetChildren()
  11. for i = 1, #plrs do
  12. local chrr = plrs[i].Character
  13. if plrs[i] == plr and chrr and not chrr:FindFirstChild("espgui") then
  14. local function esp(chr)
  15.  
  16. local hrp = chr:FindFirstChild("HumanoidRootPart")
  17. if hrp then
  18. local gui = Instance.new("BillboardGui")
  19. gui.Name = "espgui"
  20. gui.Size = UDim2.new(0,69,0,69)
  21. gui.AlwaysOnTop = true
  22. local IL = Instance.new("ImageLabel",gui)
  23. IL.Position = UDim2.new(0,0,0,-1)
  24. IL.Size = UDim2.new(1,0,1,0)
  25. IL.BackgroundTransparency = 1
  26. IL.Image = "rbxassetid://3180601839"
  27. if game:GetService("Teams") and plrs[i].Team ~= nil then
  28. IL.ImageColor3 = plrs[i].TeamColor.Color
  29. end
  30. local nm = Instance.new("TextLabel",IL)
  31. nm.Size = UDim2.new(1.2,0,.2,0)
  32. nm.Position = UDim2.new(.6,0,.25,0)
  33. nm.Text = plrs[i].Name
  34. nm.BackgroundTransparency = 1
  35. nm.TextColor3 = Color3.fromRGB(255,255,255)
  36. nm.TextXAlignment = Enum.TextXAlignment.Left
  37. gui.Parent = hrp
  38. end
  39. end
  40. esp(chrr)
  41. end
  42. end
  43. wait(3)
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement