/// @description Insert description here
// You can write your code in this editor
if other.invinc_timer=0 then
{
other.hp-=5
other.invinc_timer=inv
instance_create_depth(x,y,-1,obj_hitmarker)
instance_destroy()
}