ok so i am new to scripting however i have been a long time roblox builder now i have this really cool particle explosion and i need help with a script so that when you step on the brick the particles are enabled for 3 seconds then die off
COMMUNITY QUESTION
help with particle emitters?
1 answer
Here's a simple touch script...would go inside the part
local debounce = false
script.Parent.Touched:Connect(function()
if not debounce then
debounce = true
script.Parent.ParticleEmitter.Enabled = true
wait(3)
script.Parent.ParticleEmitter.Enabled = false
debounce = false
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
TYSM
please accept the answer if it helped :)