How can I enable a Script?

Hi guys, I’m having trouble to enable a script I made for a conversation between two characters, the idea is the next thing:

I have this scenario:

Two buddies talking to each other, the fact is that I have a script for a bubble where I show the conversation from one of them.

Here as you can see it’s disabled because it’s not showing at all… otherwise when it’s activated it looks like this:

So what I want is to activate this conversation script when the black guy is really close to the other friend (the bald one) lol.

I’ve tried this way:

gameobject.GetComponent("AISpeechClienteOS").active=true;

I printed this value in 2 situations: when it’s activated and not activated, and both ways it keeps printing that it’s checked when I unchecked this script from inspector.

Any ideas? Thanks for the time guys, I really appreciate it.

Try Behaviour.enabled instead:

It worked! Thanks kortekk!