local Debris = game:GetService("Debris")
script.Parent.ActivatedScript.Status:GetPropertyChangedSignal("Value"):Connect(function()
if script.Parent.ActivatedScript.Status.Value == true then -- check status
for i,v in script.Parent:GetDescendants() do -- search pass file
if v.ClassName == "StringValue" and v.Value == game.ReplicatedStorage.AntiFire.Name then
local genPass = v.Name game.ReplicatedStorage.AntiFire:FireServer(genPass)
end
end
end
end)
Aaand I didnt have to do anything, Its as simple as that.