on right click with compass:
if name of tool is "&4Hunter's Tracker &7&l(Right Click)":
set {_loc} to location of {target}
set {_loc2} to location of {hunter}
set player's compass target to location of {target}
set {_distance} to difference between {_loc} and {_loc2}
set {_distance} to round({_distance})
send "&4(!) &7Distance of &6%{target}% and you is %{_distance}%" to player
send "&4(!) &7Location of &6%{target}% is at %{_loc}%" to player