Argument 1 Missing or Nil waitforchild

I’m getting argument 1 missing or nil for waitforchild. I tried searching but none could help.

name is nil, you sure you entered in the name argument right?

well in the call im making sure the names are from the saved inventory table, there’s no way it’s wrong

1 Like

that doesn’t explain why name is nil then
it says 1 argument missing or nil, the first one is obviously wrong so name is nil

I’m gonna try to print it out and play around with some stuff

Could we have the other side of the script that first passes in the name argument? You could just print what name is on both sides, and that would check what both sides are outputted back