hey so I used a turbowarp unpackager to see it in scratch and uh its very likely to do with the costume variable being set to a value that sets the sprites costume to that costume number (you also added a wait trigger before hiding the topbar or whatever you call it)