I made some points were they can hide, if the player is near them, they go to hide to a random spot, when the player is far from them, they go out the hide point, so I coded some variables and conditions about how near the objects are. Maybe they are too fast ^_^'
Thank you for playing!