I am making a game about a store, where a queue of customers should form at the cash register.
Every 10 seconds, a new customer should appear, enter the store, and stop at a designated point. The first customer stands at the point closest to the cash register, the second one follows the first customer, and so on. Additionally, when the first customer in the queue leaves, the second customer should take the place of the first customer, and so on.