How Do I Fix This Germ Script

Greeting Developers, I need help on this kinda complex code that is not working.

I’ve tried making a thing were i added a part name germ and another part named doctor . I inserted a code into the part named doctor:

But it did not work and what i have tried is checking if the part had a humanoid then it will access the player and then find the first child named germ and then if theres a germ the germ will be destroyed.

Just for a good understanding on what i had tried to create was where i would spawn in and insert the germ part into the player then i will touch the part named doctor then the germ will be removed from the player and then destroyed.

Any solution?

FindFirstChild() doesn’t work like that.
Instance | Documentation - Roblox Creator Hub

1 Like

oh i didn’t notice that at all :confused: