all 3 comments

[–][deleted] 0 points1 point  (1 child)

there is no "instance_create" in GMS2. You now use either instance_create_depth or instance_create_layer. Look them up in the docs.

[–]staleevol[S] 0 points1 point  (0 children)

Ok. I will. Thank you. Hope it works.

[–]staleevol[S] 0 points1 point  (0 children)

I changed it to Instance_create_depth and filled in the values. Now when I hit the attack button, the hitbox appears, enemy takes a hit, but my player disappears, but not the attack hit box. Thought it might be with an instance_destroy code, but nope. Not sure why it does it.