I am making a plugin and for it to be decent I need to be able to check if there is more then one of a certain item in workspace.
Any help?
I am making a plugin and for it to be decent I need to be able to check if there is more then one of a certain item in workspace.
Any help?
not a request site but here is the code:
location=(the path)
children=path:GetChildren()
numberofchildren=#children
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
I have some tips, use GetChildren and the "#" operator together. You can also add a generic for loop to that to count the decedents. We are not a request site so you MUST research these and make your own code and post it when it doesn't work.
I wasnt asking for exact coding, I did however want an example I didnt even know where to start.