How to make a TextButton which will give you a particle effect when you click it. I know how to make it give you a particle effect when you touch a part but I don't need that.
You would insert a Local Script into your TextButton, and in this script you would put:
button = script.Parent plr = game.Players.LocalPlayer button.MouseButton1Click:connect(function() local PE = game.Workspace.ParticleEmitterPart.ParticleEmitter:clone() PE.Parent = plr.Character.UpperTorso end)
"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.
Try this
local clickdetector = script.Parent:WaitForChild("ClickDetector") clickdetector.MouseClick:Connect(function() --insert what you want to happen when you click it. end)
And don't forget to add a click detector to your part. Accept my answer if this works!