Advertisement
ColdSpecs

aesthetic blue

Sep 24th, 2023 (edited)
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. local s = {f=Color3.fromRGB(74, 136, 197);t=.75;o=Color3.fromRGB(74, 136, 197);p=0;}
  2.  
  3. local p = game:service'Players'.LocalPlayer
  4. local h = Instance.new('Folder', game:service'CoreGui')
  5. local function a(o)
  6. local h = Instance.new('Highlight', h)
  7. h.Adornee = o
  8. h.FillColor = s.f
  9. h.FillTransparency = s.t
  10. h.OutlineColor = s.o
  11. h.OutlineTransparency = s.p
  12. h.Adornee.Changed:Connect(function()
  13. if not h.Adornee or not h.Adornee.Parent then
  14. h:Destroy()
  15. end
  16. end)
  17. return h
  18. end
  19. local function b(o)
  20. if o:IsA'Model' and o.Parent.Name ~= tostring(p.TeamColor) then
  21. local h = o:FindFirstChild("Head")
  22. local t = o:FindFirstChild("Torso")
  23. if h and t then
  24. a(h)
  25. a(t)
  26. end
  27. end
  28. end
  29. for i,v in pairs(workspace:GetDescendants()) do
  30. b(v)
  31. end
  32. workspace.DescendantAdded:Connect(function(v)
  33. b(v)
  34. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement