How can I spawn and attach a particle to a character when they touch something?

i tried it but i don’t know how to make the reference to the player and the particle