Error in script.. | How can i fix

Ah, I see. Your char parent is nil. try print(char).