Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

help with particle emitters?

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

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)

2 comments

0

TYSM

0

please accept the answer if it helped :)

This discussion is preserved as it was. New answers, comments, and votes are closed.