so im getting this error that 'part is not a valid member of part' but im trying to disable a script and I don't know what it could be because im disabling the script not part and the Part.Script is a child of FireFountain I cheaked
local FireFountain = { F1 = script.Parent.FireFountain1, F2 = script.Parent.FireFountain2, F3 = script.Parent.FireFountain3, F4 = script.Parent.FireFountain4, F5 = script.Parent.FireFountain5, F6 = script.Parent.FireFountain6 } local function EmitterActivate (EmitterNumber, IsActive) EmitterNumber.ParticleEmitter.Enabled = IsActive if IsActive == true then wait(0.1) EmitterNumber.Part.Script.Disabled = false EmitterNumber.FireBurningSoundEffect:Play() else if IsActive == false then EmitterNumber.FireBurningSoundEffect:Pause() EmitterNumber.Part.Script.Disabled = true end end end while true do EmitterActivate(FireFountain.F1, true) EmitterActivate(FireFountain.F3, true) EmitterActivate(FireFountain.F5, true) EmitterActivate(FireFountain.F2, false) EmitterActivate(FireFountain.F4, false) EmitterActivate(FireFountain.F6, false) wait(3) EmitterActivate(FireFountain.F2, true) EmitterActivate(FireFountain.F4, true) EmitterActivate(FireFountain.F6, true) EmitterActivate(FireFountain.F1, false) EmitterActivate(FireFountain.F3, false) EmitterActivate(FireFountain.F5, false) wait(3) end