I have a bunch of repeat ifs and I want to skip the other repeat ifs if the outcome is different to what the if says. Not sure how to to this perhaps use subroutines if you can in lua, not sure.
repeat if game.Players.I2.humanoid.health == 0 then F.Torso.Position = Are7 end until F.Torso.Position == Are7 repeat if game.Players.I2.humanoid.health == 0 then F.Torso.Position = Are7 end until F.Torso.Position == Are7 repeat if game.Players.I3.humanoid.health == 0 then F.Torso.Position = Are8 end until F.Torso.Position == Are8 end
So I want to add and else after the if and then refer to later in the code.