I've been trying to script an inventory system for a little bit, but can't seem to get this script working. The error (
Players.NovaGooBoom.Backpack.LocalScript:15: attempt to index nil with 'WaitForChild'
Keeps on popping up in the output channel, my script is
https://pastebin.com/Y4Y4vs0m (can't figure out how to do the formating thing, sorry)
thanks.

1 comment
Sometimes, the script does not always understand what we are doing, try creating a variable for what you are requesting.