Seems like I can't find out how to make a part activate an particle when the player touches it and when he moves out of the part the particle's lifetime becomes 0 ( deactivates slowly ), can you help me with that? Thanks for reading.
COMMUNITY QUESTION
Could you please help me with the particle when touched?
1 answer
I'm just going to give you a simple Touched/TouchEnded code which triggers the particle emitter. You can easily figure out the rest.
local ParticleE = workspace.ParticleEmitter -- Pos. of Particle E.
local TouchButton = workspace.TouchButton -- Touch button
TouchButton.Touched:Connect(function()
-- Enable the particle emitter
ParticleE.Enabled = true
end)
TouchButton.TouchEnded:Connect(function()
-- Disable the particle emitter
ParticleE.Enabled = false
end)
I'm not going to give you everything you ask for, sometimes you're better off learning how to do it on your own by searching around. Like I have.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Agreed, try learning by searching online. I started off scripting by creating my own admin script. If I didn't know how to script a command then I would find another admin script (in free models) that has the command and learn how they coded it.
Thank you, I'm a bit new in developing. Plus I understand that you don't give the whole script once I assume you've been through some times learning how to script. Still thank you for the scripting part.