-- It refreshes every 5 seconds to account for any new objects added.
local workspace = game:GetService("Workspace")
local ticketsFolder = workspace:FindFirstChild("Game") and workspace.Game:FindFirstChild("Effects") and workspace.Game.Effects:FindFirstChild("Tickets")
if not ticketsFolder then
warn("Tickets folder not found in workspace.Game.Effects")
return
end
while true do
for _, descendant in ipairs(ticketsFolder:GetDescendants()) do
if descendant:IsA("BasePart") then
local highlight = descendant:FindFirstChildOfClass("Highlight")
if not highlight then
highlight = Instance.new("Highlight")
highlight.Parent = descendant
end
highlight.Enabled = true
end
end
task.wait(5) -- Refresh every 5 seconds; adjust as needed
end
Comments
No comments yet
Be the first to share your thoughts!