using Godot; public partial class GodCircuit : Node3D { private void OnHit(Node3D node) { GD.Print("Hit"); var hpComponent = GetNode("HP Component"); hpComponent.TakeDamage(800000); hpComponent.UpdateHealthbar(); if (hpComponent.CurrentHP <= 0) QueueFree(); } }