I like the Examples above but let’s be honest, you can do any of that without using CollectionService just put the kill bricks in a Folder Called “KillBricks” and use one script to handle it.
https://gyazo.com/c4ce521d6cea6b65e6e3f4dee3e38bfd
Not bad but you can do that without CollectionService too.
https://gyazo.com/a8faf655216baba0b97c652598be2544
Great Example
Instead of using RemoteEvent:FireAllClients() you use that
https://gyazo.com/8c02e5c02b3134a37318593326fde664
CollectionService is really good for OOP
You can use this to create Events for your Objects but you can already do this by using Remote Objects and Bindable Objects
You can use it for detecting when something is Added and Destroyed. (I can’t really think of other uses tbh)
Note
https://gyazo.com/d8a5a22e11d8ee55527408564ea81986
When Written on Server it Replicates and ALL Clients will See the Changes.
When Written on Client On Client will See the Changes.
My use cases are
Using CollectionService to add Tags for something that you don’t want to store in a Script or Value Class Instances
Using CollectionService to add Tags for Signalling the Client instead of using a Remote Object
Using CollectionService to add Tags to “Radios” so when a Player decides to mute them it’s easy to do so.
Using CollectionService to add Tags to Players who are an Owner or Developer / VIP game pass Owner and when you hover your mouse over that person it displays a Text with “Owner”, “Dev” or “VIP”
Using CollectionService to add Tags to a TargetPlayer who is attacked by another Player so that when the TargetPlayer dies you know who did it, the only down side of this is that you can’t use DebrisService but you can use Delay instead to delete the Tag if needed.
Using CollectionService to add Tags to a NPC Monster so when it dies you know which player should get EXP and Money.
TLDR;
You can use it for Tagging Instances with a String instead of using a Script or RemoteObject, it also carries over from Studio to In-Game, so you can Pre-Tag stuff before the game is even played.
Tags will also carry on to a Duplicate or Copied Instance so you don’t have to add the tag again.
Bonus
@Planet_Dad Here’s the missing code sample from the “Old Wiki”