
# -> Reset var
scoreboard players set #or.player_count OverlyRealistic.General.ArbitraryData 0

# -> Get player count
execute as @a[distance=..10] run \
    scoreboard players add #or.player_count OverlyRealistic.General.ArbitraryData 1

# -> If player count >= 4 then return success
execute if score #or.player_count OverlyRealistic.General.ArbitraryData matches 4.. run \
    return 1

# -> Else, return failure
return 0