Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. function Esp(player, username)
  2. if player ~= game:service("Players").LocalPlayer then
  3. if player.Character then
  4. local torso = player.Character:FindFirstChild("Torso")
  5. if torso then
  6. local base = Instance.new("BillboardGui")
  7. local esP = Instance.new("Frame", base)
  8. base.AlwaysOnTop = true
  9. base.Enabled = true
  10. base.Size = UDim2.new(4.5,0,6,0)
  11. base.StudsOffset = Vector3.new(0, -0.6, 0)
  12. esP.BackgroundColor3 = Color3.new(170,0,0)
  13. esP.BackgroundTransparency = 0.4
  14. esP.BorderSizePixel = 0.5
  15. esP.Size = UDim2.new(1,0,1,0)
  16. if base and workspace.CurrentCamera then
  17. base.Name = username
  18. base.Parent = workspace.CurrentCamera
  19. base.Adornee = torso
  20. end
  21. end
  22. end
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement