Checking if a child has been added to the Tag in CollectionService

How would I check if a child has been added to a certain tag in CollectionService. This apparently doesn’t work and I’m not surprised. I’ve tried checking the dictionary website, however I found nothing that should help me solve this.

local CollectionService = game:GetService("CollectionService")
local TAG = "JustATag"

CollectionService.TAG.ChildAdded:Connect(function(Object)
 --fire function
end)
1 Like
local CollectionService = game:GetService("CollectionService")
local TAG = "JustATag"

CollectionService:GetInstanceAddedSignal(TAG):Connect(function(Object)
 --fire function
end)
9 Likes

I think you are looking for CollectionService:GetInstanceAddedSignal(string tag), just as @regularwolf demonstrated.

1 Like

Really appreciate it, thank you.