Anyone know how to fix this?

still says:

to do with this:

Please keep most of your info within like 1-2 messages, so send entire code instead of screenshots of it, it makes it very hard to read.

Can you check if the path (game.StarterGui.EggViewerSystem) is actually there (not nil/null)? If it is, add this: print(player.PlayerGui:GetChildren()) before line 11 and show the output.

Change every instance of playerHatchDebounce[player] to playerHatchDebounce[Player] in the first script that you sent.

If it isn’t, then make the Instance in the path or remove that variable and change every usage of it.

Im just trying to make it hatch a pet like pet sim x

Ok but I need answers to help you

Can you also help me? Is it good to use TweenService for checking collisions?

Sorry for not responding. I didn’t respond because I don’t know how to fix this. I usually make my tweens with loops and don’t use them other than for GUI.