How would I go about this?

Alright so I kind of need help with this script, basically I need to know how to make a teleporting que, like Camping, Hotel, etc… but I have no idea what to do next. Here’s the code I have now.

local part = script.Parent

local TS = game:GetService("TeleportService")

local TimeLabel = part.SurfaceGui.Time

local Folder = part.Players

local PlayersIn = Folder.Player1

local StartTime = 30


while wait(1) do
	StartTime -=1
	TimeLabel.Text = "Teleports in: "..StartTime
	if StartTime == 0 then
		StartTime = 31
	end
end



part.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
		
		PlayersIn.Value = Player.Name
		
		local ReservedPrivateServer = TS:ReserveServer(10032135443)
		
		wait(StartTime)
		
		TS:TeleportToPrivateServer(10032135443, ReservedPrivateServer, game.Players:FindFirstChild(PlayersIn.Value))
		
	end
end)

So, if you could help me, that would be gladly appreciated!

Thanks!