Basically I want to write a code that will enable and disable all of the effects inside of an attachment.
for example there are 5 effects in an attachment and I want to disable all of them at once.
Here is a picture of the effects I want to disable in this attachment.
What type of coding should I use?, and how do I code it?
(I found out my solution)
here was the code I needed to use
local HitAttach = HRP:WaitForChild("Hit")
for i, effect in pairs(HitAttach:GetChildren()) do
effect.Enabled = false
i += 1
end