How to continue rest of script?

If I keep it as all if statements then it will run until it cant find the clothing item which means if a player has luffy shirt and a straw hat they get to keep their stats (which is bad), if they have the full set this doesnt happen. If i make them else if statements it will only run the first statement that it is true.

	if character:FindFirstChild("LuffyPants") ~= nil then
			plr.Stats.Mana.Value = plr.Stats.Mana.Value / 1.3
		if character:FindFirstChild("LuffyShirt") ~= nil then
			plr.Stats.Sword.Value = plr.Stats.Sword.Value / 1.3
			if character:FindFirstChild("StrawHat") ~= nil then
				plr.Stats.Defense.Value = plr.Stats.Defense.Value / 1.3
				if character:FindFirstChild("ZoroShirt") ~= nil then
					plr.Stats.Sword.Value = plr.Stats.Sword.Value / 1.3
				if character:FindFirstChild("ZoroPants") ~= nil then
								plr.Stats.Defense.Value = plr.Stats.Defense.Value / 1.3

for i, v in pairs (character:GetChildren()) do
if v.Name == “LuffyPants” or “LuffyShirt” or “StrawHat” or “ZoroShirt” or “ZoroPants” then
plr.Stats.Sword.Value = plr.Stats.Sword.Value / 1.3
end
end

1 Like

I had to do some adjustments and it works thank you so much!