local PEmitter = script.Parent:GetChildren()
local EmitVal = script.Parent.Emit.Value
local function onEmit()
for i, child in ipairs (PEmitter) do
local Particles = child:GetChildren()
for i, child in ipairs(Particles) do
child.Enabled = EmitVal
end
end
end
script.Parent.Emit:GetPropertyChangedSignal("Value"):Connect(onEmit)
The script is placed inside a folder in workspace with the bool value (Emit) and parts that all have a ParticleEmitter in them. When the bool value changes it will change the enabled value of all the ParticleEmittes. I tried Changed as well and it did not work. The value is simply just not updating with the methods I am trying. Any help would be greatly appreciated
