Here is AI script and Boids script for the beach ghost.