joeblox/world/killbrick.gd
2026-01-21 20:50:41 +13:00

5 lines
91 B
GDScript

extends Area3D
func _on_body_entered(body: Node3D):
if body is Player:
body.health = 0