@JonB
Here is the code for the update subclass:
```
def update(self):
self.score_label.run_action(Action.remove())
self.goal_label.run_action(Action.remove())
self.score_label = LabelNode(str(f'Score: {self.score}'), ('Arial Rounded MT Bold', 33), position=(self.size.x/2, (self.size.y/1)-133))
self.goal_label = LabelNode(f'Goal: {self.goal}', position=(self.size.x/2, ((self.size.y/1)-133)+50))
self.add_child(self.score_label)
self.add_child(self.goal_label)
if self.auto_amount >= 1:
spawn_bubble(self, False)
if self.chest_visible == True:
if self.score >= self.goal:
buy_automate_chest = SpriteNode('plc:Chest_Open', position=(self.size.x/2, self.size.y/5), parent=self)
self.chest_location = buy_automate_chest.frame
else:
buy_automate_chest.run_action(Action.remove())```