Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GAIMXD = game:GetChildren()
- local m = GAIMXD[14].LocalPlayer:GetMouse() -- deprecated, but I'm lazy
- m.KeyDown:connect (function (me)
- if(me == "l") then
- for i,v in pairs (GAIMXD[14]:GetChildren()) do
- if (v.Character and v.Name ~= GAIMXD[14].LocalPlayer.Name) then
- for b,n in pairs (v.Character:GetChildren()) do
- if (n:IsA("BasePart")) then
- local a = Instance.new("BoxHandleAdornment", game.CoreGui)
- a.Adornee = n
- a.AlwaysOnTop = true
- a.ZIndex = 0
- a.Size = n.Size
- if (v.TeamColor == GAIMXD[14].LocalPlayer.TeamColor) then
- a.Color = BrickColor.new("Lime green")
- else
- a.Color = BrickColor.new("Really red")
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement