Attempt to index nil with 'Parent'

For some reason, when I clear everything in the experience except for my check in system, it works perfectly.

1 Like

So, something’s probably up with the parts. Are there any parts named ‘Parent’?

1 Like

I don’t think so, how else can the scripts be giving an error though

1 Like

Super weird. Mind showing me what’s inside the tool?

1 Like

Screenshot 2022-02-14 at 8.17.23 PM
Sure, when the tool is equipped, a gui of the boarding pass shown

1 Like

Why are there 2 humanoids? Do you even need both?

1 Like

I’m not sure, I didn’t make the tool, a friend of mine made it
I just scripted the gui function

1 Like

Not sure if this would work but try inserting a pcall and see if it works.

1 Like

Don’t think that’s gonna work either. It’d just send the warning.

1 Like

I don’t know what would be the point of humanoids though.

1 Like

Mind making a model and sending it, because I can’t help any further without seeing what’s happening in the actual model. You can remove the model after the problem is fixed.

Edit: You can send without the scripts.

1 Like

Yeah, right. Don’t think you’re gonna play an animation though.

1 Like

local tool = game.ReplicatedStorage:WaitForChild("Economy Class")

try this instead:

local tool = game:GetService("ReplicatedStorage"):WaitForChild("Economy Class")

1 Like

I tried this and the error didnt appear
still doesn’t work though

1 Like

Try rewriting your scripts?

At this point, I don’t think I can think of any solutions.

1 Like

I started a new game and re-inserted everything into it, took a while but it works now :expressionless:
I’m literally so confused right now
Anyways, thank you all so much! :smile:

4 Likes

That was weird, but at least you got it!

2 Likes