I want a particle emitter to turn on and off every 2 seconds, but the debounce is 'glitched' this is on a server script
while true do local dbo = false local particle = script.Parent if dbo == false then dbo = true particle.Enabled = false else dbo = false particle.Enabled = true end wait(2) print(dbo) end
Try this:
local particle = script.Parent while true do particle.Enabled = not particle.Enabled wait(2) end