-- Services / folders
local workspace = game:GetService("Workspace")
local nameTagsFolder = workspace:WaitForChild("FolderNameTags")
local avatarsFolder = workspace:WaitForChild("FolderAvatars")
--------------------------------------------------
-- NAME TAGS: force Enabled = true
--------------------------------------------------
local function enableIfPossible(obj)
if obj and obj.Enabled ~= nil then
obj.Enabled = true
end
end
-- Existing
for _, obj in ipairs(nameTagsFolder:GetChildren()) do
enableIfPossible(obj)
end
-- Future
nameTagsFolder.ChildAdded:Connect(enableIfPossible)
--------------------------------------------------
-- AVATARS: add wall outline
--------------------------------------------------
local function addOutline(model)
if not model:IsA("Model") then return end
if model:FindFirstChild("WallOutline") then return end
local highlight = Instance.new("Highlight")
highlight.Name = "WallOutline"
highlight.Adornee = model
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.FillTransparency = 1
highlight.OutlineTransparency = 0
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.Parent = model
end
-- Existing
for _, model in ipairs(avatarsFolder:GetChildren()) do
addOutline(model)
end
-- Future
avatarsFolder.ChildAdded:Connect(addOutline)
Comments
No comments yet
Be the first to share your thoughts!