So, I have a pet hatching system. I have made a script where it should show the pet in the inventory GUI. It does not work. I don’t see the error, but I am really confused upon it.
Try closing the parenthesis at the end of the second line and deleting the parenthesis on the last line. I believe everything you wrote after that second line is inside the parameters of :WaitForChild()
1 Like
To further explain, waitforchild can only be used to find parts that are in the game. It doesn’t make sense to find scripts in the current script. Do what Rico said.
1 Like
Also, here’s a little tip: Instead of taking a screenshot of your code, try copying and pasting it, using the Preformatted text tool!
1 Like
The issue has been fixed. I did not put parenthesis on one of the lines of code.
Feel free for a moderator to delete this post.