for _, o in workspace:GetDescendants() do -- MT_PARTS_3
if string.find(o.Name, "Safe") or string.find(o.Name, "Key") or string.find(o.Name, "Airdrop") or string.find(o.Name, "PARTS") or string.find(o.Name, "Cache") then
local Highlight = Instance.new("Highlight")
Highlight.FillTransparency = 0.8
Highlight.FillColor = Color3.new(1, 1, 1)
Highlight.Parent = o
local BillboardGui = Instance.new("BillboardGui")
local Frame = Instance.new("Frame")
local UICorner = Instance.new("UICorner")
BillboardGui.ClipsDescendants = true
BillboardGui.LightInfluence = 0
BillboardGui.Active = true
BillboardGui.AlwaysOnTop = true
BillboardGui.Size = UDim2.new(0, 4, 0, 4)
BillboardGui.Parent = o
Frame.Size = UDim2.new(1, 0, 1, 0)
Frame.BorderColor3 = Color3.new(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.BackgroundColor3 = Color3.new(1, 1, 1)
Frame.Parent = BillboardGui
UICorner.CornerRadius = UDim.new(1, 0)
UICorner.Parent = Frame
end
if o.Parent.Name == "Mines" --[[o.Name == "Plane"]] then -- name Plane
local mine = Instance.new("Highlight")
mine.OutlineColor = Color3.new(1, 0, 0)
mine.FillTransparency = 0.8
mine.Parent = o
local BillboardGui = Instance.new("BillboardGui")
local Frame = Instance.new("Frame")
local UICorner = Instance.new("UICorner")
BillboardGui.ClipsDescendants = true
BillboardGui.LightInfluence = 0
BillboardGui.Active = true
BillboardGui.AlwaysOnTop = false
BillboardGui.Size = UDim2.new(0, 16, 0, 16)
BillboardGui.Parent = o
Frame.Size = UDim2.new(1, 0, 1, 0)
Frame.BorderColor3 = Color3.new(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.BackgroundColor3 = Color3.new(1, 0, 0)
Frame.Parent = BillboardGui
UICorner.CornerRadius = UDim.new(1, 0)
UICorner.Parent = Frame
end;
end
Comments
No comments yet
Be the first to share your thoughts!