(SOLVED) Need help with Script that is supposed to get components of an AI and change them

I have a Trigger parented to an AI Gameobject. The Script which is on the Trigger is supposed to, On Trigger Enter, change the Walk Speed.
101563-variables.png

I want to change the “Move Speed Multiplier” and the “Anim Speed Multiplier” variables upon Trigger Enter

But I’m new to programming, so if you send some script, it would be very nice to explain how to set it up and what variables to use.

If you have an idea on how to solve this problem, I would be so happy if you could help me!

If you need further information, just ask for it. I will answer in notime!

hi;
what do u need exactly ?
about Triggers i think there is sample inside unity document but if u want better sample please explain more;