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
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)