Be careful when playing stuff, things like putting destroy sprite before layout could prevent anything from changing as the sprite was destroyed so it didn't finish all of it's commands.
If you want it to change layout when score hits 1000, be sure to use defensive scripting and do
When score > 999 instead of when score = 1000, if they have 999 score and get 2 points you never actually hit 1000 so the event doesn't trigger.