Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it better using iv loops in a folder to get everything or to use collectionservice?

Asked by 4 years ago

I have this script which requires an iv loop or collection service but I dont know which is better

0
I swear Overseer, you're always asking these funny ass questions. I feel like youre some god tier programmer trolling us noobs stupid enough to answer your questions. Idk if youre really trolling or not and honestly cant tell, but goodluck LOL Psudar 882 — 4y

1 answer

Log in to vote
1
Answered by
oreoollie 649 Moderation Voter
4 years ago

CollectionService is not used to get a table of children. It's used to add tags to objects and get objects with a tag. If you're trying to simply get the children of an object then use a General For Loop. If you're trying to get objects with a specifc tag use CollectionService

If my answer solved your problem please don't forget to accept it.

Ad

Answer this question