local a = script.Parent.GuardInfantryOF local b = script.Parent.GuardInfantryOF1 local c = script.Parent.GuardInfantryOF2 wait(5) math.random(a,b,c) script.WaitForChild(math.random) if a then script.Parent.GuardInfantryOF2 = nil script.Parent.GuardInfantryOF1 = nil elseif b then script.Parent.GuardInfantryOF2 = nil script.Parent.GuardInfantryOF = nil elseif c then script.Parent.GuardInfantryOF1 = nil script.Parent.GuardInfantryOF = nil end
Instead of nil try Destroy()
Example of line 17
script.Parent.GuardInflantryOF:Destroy()
[I don't know if this would help at all, but you can try it] Can you also explain what your script is for and what is GuardInflantryOF?? Hope this helps!!