I have a script that needs to find all of the descendants of the workspace using the workspace:GetDescendants() command. For some reason, when I use a server script, the command only gives me some of the workspace's descendants. HOWEVER, when I tried it with a local script, workspace:GetDescendants() returned all of the descendants. Why is this? Is get descendants broken when used on the server side?
The server script may be running before the character loads in, and the character is part of the workspace (and takes up a lot of descendants)
Check if the LocalScript runs after the character loads in. I've tested this for myself, and they both return the same thing.