You would insert a Local Script into your TextButton, and in this script you would put:
2 | plr = game.Players.LocalPlayer |
4 | button.MouseButton 1 Click:connect( function () |
5 | local PE = game.Workspace.ParticleEmitterPart.ParticleEmitter:clone() |
6 | PE.Parent = plr.Character.UpperTorso |
"button" Would be calling your TextButton, and plr would be calling the Player. This function says whenever you click your TextButton, it clones the ParticleEmitter in your workspace or in this script, the particle emitter in a part. Then you would make the particle emitters parent any body part. Right now I'm cloning it into the UpperTorso of the character.