How can I make this script more simplified, if possible?
I've created a part with BodyPosition. It moves around in a circle because of the positions I've set it. There are 12 blocks that form the circle, and I had made it so it moves to each block. It feels pretty lengthy to me, however. Is there a more simplified or even an easier way to achieve the same results?
01 | local box = game.Workspace.Box |
02 | local bodypos = box.BodyPosition |
19 | bodypos.position = pos 1. Position |
21 | bodypos.position = pos 2. Position |
23 | bodypos.position = pos 3. Position |
25 | bodypos.position = pos 4. Position |
27 | bodypos.position = pos 5. Position |
29 | bodypos.position = pos 6. Position |
31 | bodypos.position = pos 7. Position |
33 | bodypos.position = pos 8. Position |
35 | bodypos.position = pos 9. Position |
37 | bodypos.position = pos 10. Position |
39 | bodypos.position = pos 11. Position |
41 | bodypos.position = pos 12. Position |