fxdogxd
Jun 16th, 2023
23
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local FillColor = Color3.fromRGB(175,25,255)
  2. local DepthMode = "AlwaysOnTop"
  3. local FillTransparency = 0.5
  4. local OutlineColor = Color3.fromRGB(255,255,255)
  5. local OutlineTransparency = 0
  6.  
  7. local CoreGui = game:FindService("CoreGui")
  8. local Players = game:FindService("Players")
  9. local lp = Players.LocalPlayer
  10. local connections = {}
  11.  
  12. local Storage = Instance.new("Folder")
  13. Storage.Parent = CoreGui
  14. Storage.Name = "Highlight_Storage"
  15.  
  16. local function Highlight(plr)
  17. local Highlight = Instance.new("Highlight")
  18. Highlight.Name = plr.Name
  19. Highlight.FillColor = FillColor
  20. Highlight.DepthMode = DepthMode
  21. Highlight.FillTransparency = FillTransparency
  22. Highlight.OutlineColor = OutlineColor
  23. Highlight.OutlineTransparency = 0
  24. Highlight.Parent = Storage
  25.  
  26. local plrchar = plr.Character
  27. if plrchar then
  28. Highlight.Adornee = plrchar
  29. end
  30.  
  31. connections[plr] = plr.CharacterAdded:Connect(function(char)
  32. Highlight.Adornee = char
  33. end)
  34. end
  35.  
  36. Players.PlayerAdded:Connect(Highlight)
  37. for i,v in next, Players:GetPlayers() do
  38. Highlight(v)
  39. end
  40.  
  41. Players.PlayerRemoving:Connect(function(plr)
  42. local plrname = plr.Name
  43. if Storage[plrname] then
  44. Storage[plrname]:Destroy()
  45. end
  46. if connections[plr] then
  47. connections[plr]:Disconnect()
  48. end
  49. end)
Comments
  • fxdogxd
    1 year
    # text 1.34 KB | 0 0
    1. hile wait() do
    2. pcall(function()
    3. for i,v in pairs(game.Players:GetChildren()) do
    4. if not v.Character.Head:FindFirstChild("ESP") then
    5. local BillboardGui = Instance.new("BillboardGui")
    6. local TextLabel = Instance.new("TextLabel")
    7. BillboardGui.Parent = v.Character.Head
    8. BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
    9. BillboardGui.Active = true
    10. BillboardGui.Name = "ESP"
    11. BillboardGui.AlwaysOnTop = true
    12. BillboardGui.LightInfluence = 1.000
    13. BillboardGui.Size = UDim2.new(0, 200, 0, 50)
    14. BillboardGui.StudsOffset = Vector3.new(0, 2.5, 0)
    15. TextLabel.Parent = BillboardGui
    16. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
    17. TextLabel.BackgroundTransparency = 0
    18. TextLabel.Size = UDim2.new(0, 200, 0, 50)
    19. TextLabel.Font = Enum.Font.GothamBold
    20. TextLabel.Text = v.Name
    21. TextLabel.TextColor3 = Color3.fromRGB(25, 0, 255)
    22. TextLabel.TextScaled = true
    23. TextLabel.TextSize = 14.000
    24. TextLabel.TextStrokeTransparency = 0.000
    25. TextLabel.TextWrapped = true
    26. end
    27. end
    28. end)
    29. end
Add Comment
Please, Sign In to add comment