Hello guys, why i can not add this to my code?

Because it’s been removed. Use GetComponent just like you would for any other component.