Just move Lines 123-131 up to Line 54… first routine inside the checking function. You want the game to check stability every 1 second, so that’s where it should happen.
You’ll also need to move line 98 (local Shapes = {}) somewhere above that check function (maybe even near the very top of your code) because you’ll now be referencing the “Shapes” table in the check function, thus you need its initial declaration somewhere above to prevent a “lookup error”.
Looks like you’re almost there, keep going! 
Brent
[import]uid: 9747 topic_id: 25055 reply_id: 104017[/import]

[import]uid: 40033 topic_id: 25055 reply_id: 109497[/import]