#collectionservice

1 messages · Page 1 of 1 (latest)

zenith mural
#

is there a way to use collection service to get parts that are tagged, but only parented to a certain thing, for example, if i wanted to use collection service to make a cookie spawn every ten seconds, on every single part that has the tag cookie spawner, but i only want the cookies to spawn if the cookie spawners are in the workspace, is there a way to make it so collectionservice stops running while the cookie spawners are in serverstorage or replicated storage?

flint atlas
#

u can get the tagged parts with CollectionService:GetTagged() and then check if the part are in workspace using Instance:IsDescendantOf