I'm trying to use a script to check if my event comes into contact with a particular region. region 6, and if it does i'm going to have it move faster. This is what i have so far

but it is not doing anything when i click on it with the action button. I tried typing 6 after the words regionId and replacing the Id with 6 but nothing. I'm guessing my script is wrong as i looked at replies to similar questions and pieced it together. Would be grateful if someone could point me in the right direction. Thanks

but it is not doing anything when i click on it with the action button. I tried typing 6 after the words regionId and replacing the Id with 6 but nothing. I'm guessing my script is wrong as i looked at replies to similar questions and pieced it together. Would be grateful if someone could point me in the right direction. Thanks
