Basic Particle System

Can someone give me an example of a basic particle that attaches to a player please?

(to go in autorun)

You want code to attach an particle sytem, or a particle system that attaches itself to a player when created?

second thing.