fill -5 33 35 -5 33 33 oak_wall_sign[facing=east] replace air
fill 13 32 33 13 32 35 oak_wall_sign[facing=west] replace air

execute if score oLifetime Stats matches 1 run data merge block -5 33 33 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lifetime"},"extra":[{"bold":false,"color":"dark_red","text":"3"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lifetime"}'}
execute if score oLifetime Stats matches 2 run data merge block -5 33 33 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lifetime"},"extra":[{"bold":false,"color":"dark_red","text":"6"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lifetime"}'}
execute if score oLifetime Stats matches 3 run data merge block -5 33 33 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lifetime"},"extra":[{"bold":false,"color":"dark_red","text":"12"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lifetime"}'}
execute if score oLifetime Stats matches 4 run data merge block -5 33 33 {Text4:'{"italic":true,"color":"gray","translate":"lobby.options.recommended"}',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lifetime"},"extra":[{"bold":false,"color":"dark_red","text":"24"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lifetime"}'}
execute if score oLifetime Stats matches 5 run data merge block -5 33 33 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lifetime"},"extra":[{"bold":false,"color":"dark_red","text":"36"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lifetime"}'}

execute if score oPowerup Stats matches 1 run data merge block -5 33 35 {Text4:'{"italic":true,"color":"gray","translate":"lobby.options.recommended"}',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup"},"extra":[{"bold":false,"color":"green","translate":"lobby.options.powerup_type.default"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup_type"}'}
execute if score oPowerup Stats matches 2 run data merge block -5 33 35 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup"},"extra":[{"bold":false,"color":"blue","translate":"lobby.options.powerup_type.pullable"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup_type"}'}
execute if score oPowerup Stats matches 3 run data merge block -5 33 35 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup"},"extra":[{"bold":false,"color":"dark_red","translate":"lobby.options.powerup_type.none"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup_type"}'}
execute if score oPowerup Stats matches 4 run data merge block -5 33 35 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup"},"extra":[{"bold":false,"color":"white","translate":"lobby.options.powerup_type.randomized"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup_type"}'}

data merge block 13 32 33 {Text2:'{"text":"\\u003c\\u003c\\u003c\\u003c\\u003c"}',Text1:'{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/arena_left"},"text":""}'}
data merge block 13 32 35 {Text2:'{"text":"\\u003e\\u003e\\u003e\\u003e\\u003e"}',Text1:'{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/arena_right"},"text":""}'}

function mctsts:sign/arena

execute if score oLives Stats matches 1 run data merge block -5 33 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lives"},"extra":[{"bold":false,"color":"dark_red","text":"3"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lives"}'}
execute if score oLives Stats matches 2 run data merge block -5 33 34 {Text4:'{"italic":true,"color":"gray","translate":"lobby.options.recommended"}',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lives"},"extra":[{"bold":false,"color":"dark_red","text":"5"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lives"}'}
execute if score oLives Stats matches 3 run data merge block -5 33 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lives"},"extra":[{"bold":false,"color":"dark_red","text":"7"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lives"}'}
execute if score oLives Stats matches 4 run data merge block -5 33 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/lives"},"extra":[{"bold":false,"color":"dark_red","text":"10"}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.lives"}'}

execute if score oPTime Stats matches 1 run data merge block -5 32 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup_time"},"extra":[{"bold":false,"color":"dark_red","translate":"lobby.options.powerup_time","with":["1"]}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup"}'}
execute if score oPTime Stats matches 2 run data merge block -5 32 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup_time"},"extra":[{"bold":false,"color":"dark_red","translate":"lobby.options.powerup_time","with":["5"]}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup"}'}
execute if score oPTime Stats matches 3 run data merge block -5 32 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup_time"},"extra":[{"bold":false,"color":"dark_red","translate":"lobby.options.powerup_time","with":["10"]}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup"}'}
execute if score oPTime Stats matches 4 run data merge block -5 32 34 {Text4:'{"italic":true,"color":"gray","translate":"lobby.options.recommended"}',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup_time"},"extra":[{"bold":false,"color":"dark_red","translate":"lobby.options.powerup_time","with":["15"]}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup"}'}
execute if score oPTime Stats matches 5 run data merge block -5 32 34 {Text4:'',Text3: '{"clickEvent":{"action":"run_command","value":"function mctsts:lobby/sign/powerup_time"},"extra":[{"bold":false,"color":"dark_red","translate":"lobby.options.powerup_time","with":["30"]}],"text":""}',Text1: '{"bold":true,"color":"dark_red","translate":"lobby.options.powerup"}'}