Hello Everybody
So, I am working on a script that enables and disables the particles, but of I disable the particles and enable them again, the particles do not show and are disabled. And I made sure the it passes the if statements
LOCAL SCRIPT
local StatusValue = script.Parent.StatusValue
while wait() do
if StatusValue.Value == false then
for index, descentdant in pairs(workspace:GetDescendants()) do
if descentdant:IsA("ParticleEmitter") then
descentdant.Enabled = false
elseif StatusValue.Value == true then
descentdant.Enabled = true
end
end
end
end