-- Function to update the TextLabel

local function updateTextLabel()
	local waitingText = "Waiting for "
	for _, player in pairs(game.Players:GetPlayers()) do
		if not playersWhoClicked[player.UserId] then
			waitingText = waitingText .. "" .. player.Name
		end
	end
	textLabel.Text = waitingText
end
