if distance between loop-player and loop-player-2 <= 500:
# If the time is under 10 seconds, show a warning
if {_time2} <= 10:
send action bar "&c&l⚠ %{_minutes2}%:%{_secDisplay2}% ⚠" to loop-player
else:
send action bar "&c&l%{_minutes2}%:%{_secDisplay2}%" to loop-player ```