Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. local GAIMXD = game:GetChildren()
  2.  
  3. local m = GAIMXD[14].LocalPlayer:GetMouse() -- deprecated, but I'm lazy
  4. m.KeyDown:connect (function (me)
  5. if(me == "l") then
  6. for i,v in pairs (GAIMXD[14]:GetChildren()) do
  7. if (v.Character and v.Name ~= GAIMXD[14].LocalPlayer.Name) then
  8. for b,n in pairs (v.Character:GetChildren()) do
  9. if (n:IsA("BasePart")) then
  10. local a = Instance.new("BoxHandleAdornment", game.CoreGui)
  11. a.Adornee = n
  12.  
  13. a.AlwaysOnTop = true
  14. a.ZIndex = 0
  15. a.Size = n.Size
  16. if (v.TeamColor == GAIMXD[14].LocalPlayer.TeamColor) then
  17. a.Color = BrickColor.new("Lime green")
  18. else
  19. a.Color = BrickColor.new("Really red")
  20. end
  21. end
  22. end
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement