Hello everyone! I am making a game where each round there is a different obby map, and players have to complete it in 5 minutes, for example, then a new map appears.
I want to eliminate the player with least progress in the round, just 1 player each round.
I’ve been trying to put some “checkpoints” (its not really a checkpoint) that give the players a tag with a number, to keep their progress. If a player falls from the “checkpoint 5” they will go back to the beginning, and when steps on the “checkpoint 1” their tag number will still be 5 because i put this code in the checkpoints:
(This is for checkpoint 4)
local cs = game:GetService(“CollectionService”)
script.Parent.Touched:Connect(function(part)
if part.Parent:FindFirstChild(“Humanoid”) and not part.Parent >4 then
cs:AddTag(part.Parent, “4”)
end
end)
So this seems to be going well, but I need help with my main script: how to refer to the player with the lowest tag number?
The elimination would be go from Contestants team to Spectators team.