mob
DblClick()
if(get_dist(src, usr) <= 2)
oview(12) << output("[src] attacks [usr]!","output1")
usr.Health-=5
Death()
Problem description:I have been trying to create an attack system with DblClick(), but I can't figure out how to use it correctly! I know how DblClick works, but I can't figure out how to use it in an attacking system.