Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to see if something has children?

So, I want to do an inventory. I have the most brilliant way to do it but, the way I am doing this requires a check to see if a slot has a child. I want to use an in pairs loop. So, how would I see if it has a child? I tried, if slot:GetChildren() == nil then , but that doesn't seem to work. Any help will be appreciated!!

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.