Teleport script suddenly not working

So, I have a van in my game with some seats that teleport people to a reserved server. The seats are correctly labeled and just in workspace, and I’m trying in roblox, so what am I missing? This literally just worked a week ago. I haven’t changed anything about it, except I put completely unrelated things in folders/made the rest of my workspace cleaner. Here’s my script, it’s in ServerScriptService:

local seats = workspace.Seats

local teleportService = game:GetService("TeleportService")

local num = 0

local playersInSeats = {}

local countdown = false

local PlaceId = 5239966475

local function countDown()
	
	if not countdown then 
	
		countdown = true
		
		print("Start countdown")
		playersInSeats = {}
		
		for i = 10,1,-1 do --first number changes countdown
			
			if num < 1 then break end -- if everyone gets off, reset timer
			if num == #seats:GetChildren() then break end -- if seats are full, teleport
			wait(1)
			
		end
		
		if num >= 1 then -- changes minimum number of players
			
			print("Start game")
			
			local serverCode = teleportService:ReserveServer(PlaceId)
			
			for _,seat in pairs(seats:GetChildren()) do
				
				if seat.Occupant then
					
					local plr = game.Players:GetPlayerFromCharacter(seat.Occupant.Parent)
					
					table.insert(playersInSeats,plr)
					
				end
				
			end
			
			for _,plr in pairs(playersInSeats) do 
				
				print(plr)
				
			end
			
			if playersInSeats then
			
			teleportService:TeleportToPrivateServer(PlaceId,serverCode,playersInSeats()) --teleports players in the seats to the reserved server
			
			countdown = false
			
		else
			
			countdown = false
			
		end
	
	end
	
end

for _,seat in pairs(seats:GetChildren()) do
	
	if seat:IsA("Seat") then
		
		seat:GetPropertyChangedSignal("Occupant"):connect(function()
			
			if seat.Occupant ~= nil then
				
				num = num + 1
				countDown()
				
			else
				
				num = num - 1
				
			end
			
		end)
		
	end
	
end

If anybody could try to help, I’d really appreciate it!

I figured it out, this wasn’t supposed to be here.