extends StaticBody3D @onready var currently_held_money: Label3D = $"Currently Held Money" @onready var deposited: Label3D = $Deposited @onready var leaderboard_name: Label3D = $"Leaderboard Name" # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: currently_held_money.text = "cash on hand: $" + str(int(GameGlobals.money)) deposited.text = "deposited: $" + str(GameGlobals.deposited_money) leaderboard_name.text = str(GameGlobals.all_user_leaderboards[GameGlobals.user_id][GameGlobals.last_leaderboard_id]) func interact(): SignalBus.emit_signal("money_deposited") Leaderboard.save_leaderboard_data()