Pinchos

mail@pastecode.io avatar
unknown
plain_text
a month ago
137 B
3
Indexable
Never
extends Area2D

func _on_Spikes_body_entered(body):
	if body.get_script() == load("res://Scripts/Player.gd"):
		body.damageTaken(1)
Leave a Comment