Urbanpower

Phantom Forces: Esp Script Kimito yt

Jul 23rd, 2023 (edited)
2,637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local container = Instance.new("Folder", gethui());
  2.  
  3. local function createHighlight(character)
  4. local highlight = Instance.new("Highlight", container);
  5. highlight.FillColor = BrickColor.new(character.Parent.Name).Color;
  6. highlight.FillTransparency = 0.1;
  7. highlight.OutlineTransparency = 1;
  8. highlight.DepthMode = "AlwaysOnTop";
  9. highlight.Adornee = character;
  10.  
  11. character.Destroying:Connect(function()
  12. highlight:Destroy();
  13. end);
  14. end
  15.  
  16. for _, team in workspace:WaitForChild("Players"):GetChildren() do
  17. for _, child in team:GetChildren() do
  18. createHighlight(child);
  19. end
  20. team.ChildAdded:Connect(createHighlight);
  21. end
Add Comment
Please, Sign In to add comment