extends Spatial
onready var Fly = preload("res://Scenes/Enemies/fly.tscn")
func _ready():
$Timer.start()
func _on_Timer_timeout():
var fly = Fly.instance()
add_child(fly)
I absolutely cannot figure out why this won't work. There is no reason I can see for it not to work.
EDIT:
Alright I've redone the spawner entirely and now it spawns the fly, but now the fly's script doesn't run. Now there is just an annoying completely frozen fly.