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