How to make everyone in the server invisible, but with their hats also going invisible?

I’m making an Egg Hatching type of game and when you start hatching an egg, it will make all players (client-sided) invisible. My script works but it doesn’t make the hats invisible. Can anyone help?

When looping through all the parts in a player, look for their descendants too! Accessories contain a handle and when their transparency is set to 1 the hat becomes invisible. Failure to do so will result with the effect you are currently experiencing.

2 Likes

You could easily fix this by using GetDescendants()instead of GetChildren()