heres the code
var _obj;if (instance_exists(obj_text)) _obj = obj_txt_queued; else _obj = obj_text;with (instance_create_layer(0, 0, "text_layer", _obj)){ msg = argument[0]; if (instance_exists(other)) originInstance = other.id else originInstance = noone; if (argument_count > 1) background = argument[1]; else background = 1;}with (obj_phae){ if (state != scr_player_state_lock) { lastState = state; state = scr_player_state_lock; }}[layers](https://i.stack.imgur.com/9u9tD.png)
I tried removing any extra rooms that were not needed and I tried changing the layer name to something else.
I also tried using var instance_create_layer() but that obviously didn't work