attach the script to your enemy gameobject and drag it down to your fsm state, select the get or set depending on what you're trying to do, you would see a drop down with a list of the scrips variables, functions etc, you can also use the invoke method action to call a functions script, depends on what you really want, try that, the script looks pretty old because i see some references that aren't initialized in the name space like Ai. but test it out tho.