Help With Remvoing things from tabels in a loop

so i have this problem were i’m making a round based game and when all the players a dead and the finsh players have finshed they all get teleported back to the lobby but for some reason on and off when the all of the players who didn’t get a win the round before that and theres only the players who did win last round they all get teleported when they still in a round.

for some reason in my only year of scripting i avoided using tables alot and now its came back to bite

code snippet

	for i = #Finshed, 1, -1 do
			table.remove(Finshed, i)
			print("removed From Finsh")
		end```

Its a lot easier to just do this:

Finished = {}
1 Like

man why am i so stupid

30 letters

Also another thing: forums ignore messages in </>/ (without slashes), but they still count towards character limit

Hi

hi <734626883473823284382578932953904998337838>

Idk, you can’t use numbers for some reason

hsad

oh thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.