So, a town is a single object, not multiple buildings?
By the way, it turns out that if you create an object and then want to add animation to it, you need to add at least sleep(1) after its creation; otherwise, it won't recognize that the object has been created.
Auto-translated