scoreboard players set max RNG_Constant 142
function backrooms:rng

execute if score RNG RNG_Variable matches 1 run place template backrooms:bedrock1
execute if score RNG RNG_Variable matches 2 run place template backrooms:3_way
execute if score RNG RNG_Variable matches 3 run place template backrooms:6_pillars
execute if score RNG RNG_Variable matches 4 run place template backrooms:bamboo_room
execute if score RNG RNG_Variable matches 5 run place template backrooms:banana
execute if score RNG RNG_Variable matches 6 run place template backrooms:base_room
execute if score RNG RNG_Variable matches 7 run place template backrooms:blue_cube
execute if score RNG RNG_Variable matches 8 run place template backrooms:cannonballs
execute if score RNG RNG_Variable matches 9 run place template backrooms:cardboard_castle
execute if score RNG RNG_Variable matches 10 run place template backrooms:cardboard_house
execute if score RNG RNG_Variable matches 11 run place template backrooms:condoslime
execute if score RNG RNG_Variable matches 12 run place template backrooms:ceilling_nest
execute if score RNG RNG_Variable matches 13 run place template backrooms:chair_pillars
execute if score RNG RNG_Variable matches 14 run place template backrooms:connected_cross
execute if score RNG RNG_Variable matches 15 run place template backrooms:corridor
execute if score RNG RNG_Variable matches 16 run place template backrooms:corridor2
execute if score RNG RNG_Variable matches 17 run place template backrooms:creeper_room
execute if score RNG RNG_Variable matches 18 run place template backrooms:cross_section
execute if score RNG RNG_Variable matches 19 run place template backrooms:empty
execute if score RNG RNG_Variable matches 20 run place template backrooms:empty_pool
execute if score RNG RNG_Variable matches 21 run place template backrooms:empty_pool2
execute if score RNG RNG_Variable matches 22 run place template backrooms:end_room
execute if score RNG RNG_Variable matches 23 run place template backrooms:eye_pit
execute if score RNG RNG_Variable matches 24 run place template backrooms:grass_table
execute if score RNG RNG_Variable matches 25 run place template backrooms:hanging_sign
execute if score RNG RNG_Variable matches 26 run place template backrooms:huge_1
execute if score RNG RNG_Variable matches 27 run place template backrooms:huge_2
execute if score RNG RNG_Variable matches 28 run place template backrooms:huge_3
execute if score RNG RNG_Variable matches 29 run place template backrooms:huge_4
execute if score RNG RNG_Variable matches 30 run place template backrooms:huge_hidden
execute if score RNG RNG_Variable matches 31 run place template backrooms:husk_overpass
execute if score RNG RNG_Variable matches 32 run place template backrooms:husk_room
execute if score RNG RNG_Variable matches 33 run place template backrooms:large_cross
execute if score RNG RNG_Variable matches 34 run place template backrooms:logic
execute if score RNG RNG_Variable matches 35 run place template backrooms:long_gap
execute if score RNG RNG_Variable matches 36 run place template backrooms:long_kitchen
execute if score RNG RNG_Variable matches 37 run place template backrooms:long_stairs
execute if score RNG RNG_Variable matches 38 run place template backrooms:long_stairs_sculk
execute if score RNG RNG_Variable matches 39 run place template backrooms:mail_room
execute if score RNG RNG_Variable matches 40 run place template backrooms:main_cross_1
execute if score RNG RNG_Variable matches 41 run place template backrooms:main_cross_2
execute if score RNG RNG_Variable matches 42 run place template backrooms:main_cross_3
execute if score RNG RNG_Variable matches 43 run place template backrooms:main_cross_4
execute if score RNG RNG_Variable matches 44 run place template backrooms:main_cross_5
execute if score RNG RNG_Variable matches 45 run place template backrooms:main_cross_6
execute if score RNG RNG_Variable matches 46 run place template backrooms:meteor_3
execute if score RNG RNG_Variable matches 47 run place template backrooms:moist
execute if score RNG RNG_Variable matches 48 run place template backrooms:moyai
execute if score RNG RNG_Variable matches 49 run place template backrooms:oil_drop
execute if score RNG RNG_Variable matches 50 run place template backrooms:oil_drop2
execute if score RNG RNG_Variable matches 51 run place template backrooms:origin
execute if score RNG RNG_Variable matches 52 run place template backrooms:pillars
execute if score RNG RNG_Variable matches 53 run place template backrooms:piss_room
execute if score RNG RNG_Variable matches 54 run place template backrooms:pitfalls
execute if score RNG RNG_Variable matches 55 run place template backrooms:plate_room
execute if score RNG RNG_Variable matches 56 run place template backrooms:ravager_staircase
execute if score RNG RNG_Variable matches 57 run place template backrooms:reception
execute if score RNG RNG_Variable matches 58 run place template backrooms:reception2
execute if score RNG RNG_Variable matches 59 run place template backrooms:red_carpet
execute if score RNG RNG_Variable matches 60 run place template backrooms:red_chair
execute if score RNG RNG_Variable matches 61 run place template backrooms:ring_open
execute if score RNG RNG_Variable matches 62 run place template backrooms:rings
execute if score RNG RNG_Variable matches 63 run place template backrooms:rotating_chair
execute if score RNG RNG_Variable matches 64 run place template backrooms:scale
execute if score RNG RNG_Variable matches 65 run place template backrooms:sculk_drop
execute if score RNG RNG_Variable matches 66 run place template backrooms:secret_error
execute if score RNG RNG_Variable matches 67 run place template backrooms:seige_1
execute if score RNG RNG_Variable matches 68 run place template backrooms:seige_2
execute if score RNG RNG_Variable matches 69 run place template backrooms:seige_3
execute if score RNG RNG_Variable matches 70 run place template backrooms:seige_4
execute if score RNG RNG_Variable matches 71 run place template backrooms:semi_hiden
execute if score RNG RNG_Variable matches 72 run place template backrooms:semi_hiden_sculk
execute if score RNG RNG_Variable matches 73 run place template backrooms:silicon
execute if score RNG RNG_Variable matches 74 run place template backrooms:sofa_pillars
execute if score RNG RNG_Variable matches 75 run place template backrooms:spider_fridge
execute if score RNG RNG_Variable matches 76 run place template backrooms:spider_oil
execute if score RNG RNG_Variable matches 77 run place template backrooms:spider_pit
execute if score RNG RNG_Variable matches 78 run place template backrooms:spider_ramp
execute if score RNG RNG_Variable matches 79 run place template backrooms:spider_shaft
execute if score RNG RNG_Variable matches 80 run place template backrooms:spider_trench
execute if score RNG RNG_Variable matches 81 run place template backrooms:stairs
execute if score RNG RNG_Variable matches 82 run place template backrooms:stop_wall
execute if score RNG RNG_Variable matches 83 run place template backrooms:strange_hole
execute if score RNG RNG_Variable matches 84 run place template backrooms:sugar_cube
execute if score RNG RNG_Variable matches 85 run place template backrooms:the_pit
execute if score RNG RNG_Variable matches 86 run place template backrooms:toaster_trap
execute if score RNG RNG_Variable matches 87 run place template backrooms:toilet
execute if score RNG RNG_Variable matches 88 run place template backrooms:traffic_hole
execute if score RNG RNG_Variable matches 89 run place template backrooms:trampoline_jump
execute if score RNG RNG_Variable matches 90 run place template backrooms:trampoline
execute if score RNG RNG_Variable matches 91 run place template backrooms:tree
execute if score RNG RNG_Variable matches 92 run place template backrooms:up_down
execute if score RNG RNG_Variable matches 93 run place template backrooms:vending_machine
execute if score RNG RNG_Variable matches 94 run place template backrooms:void2
execute if score RNG RNG_Variable matches 95 run place template backrooms:void3
execute if score RNG RNG_Variable matches 96 run place template backrooms:wallpaper
execute if score RNG RNG_Variable matches 97 run place template backrooms:wallpaper2
execute if score RNG RNG_Variable matches 98 run place template backrooms:water_depth
execute if score RNG RNG_Variable matches 99 run place template backrooms:weird_chair
execute if score RNG RNG_Variable matches 100 run place template backrooms:amethyst_1
execute if score RNG RNG_Variable matches 101 run place template backrooms:amethyst_2
execute if score RNG RNG_Variable matches 102 run place template backrooms:soap_box
execute if score RNG RNG_Variable matches 103 run place template backrooms:warden
execute if score RNG RNG_Variable matches 104 run place template backrooms:corridor3
execute if score RNG RNG_Variable matches 105 run place template backrooms:dance_music
execute if score RNG RNG_Variable matches 106 run place template backrooms:padded_bird
execute if score RNG RNG_Variable matches 107 run place template backrooms:sunset
execute if score RNG RNG_Variable matches 108 run place template backrooms:herobrine_1
execute if score RNG RNG_Variable matches 109 run place template backrooms:herobrine_2
execute if score RNG RNG_Variable matches 110 run place template backrooms:bedrock2
execute if score RNG RNG_Variable matches 111 run place template backrooms:husk_cross1
execute if score RNG RNG_Variable matches 112 run place template backrooms:husk_cross2
execute if score RNG RNG_Variable matches 113 run place template backrooms:husk_cross3
execute if score RNG RNG_Variable matches 114 run place template backrooms:husk_cross4
execute if score RNG RNG_Variable matches 115 run place template backrooms:husk_cross5
execute if score RNG RNG_Variable matches 116 run place template backrooms:husk_cross6
execute if score RNG RNG_Variable matches 117 run place template backrooms:stair_cross
execute if score RNG RNG_Variable matches 118 run place template backrooms:escalate_1
execute if score RNG RNG_Variable matches 119 run place template backrooms:escalate_2
execute if score RNG RNG_Variable matches 120 run place template backrooms:pink_ravager

#Community Rooms
execute if score RNG RNG_Variable matches 121 run place template backrooms:flooded_hall_vinoren
execute if score RNG RNG_Variable matches 122 run place template backrooms:polychromatizen1
execute if score RNG RNG_Variable matches 123 run place template backrooms:zanodarceilingv1
execute if score RNG RNG_Variable matches 124 run place template backrooms:wenbell_straftat_backrooms_02
execute if score RNG RNG_Variable matches 125 run place template backrooms:wenbell_straftat_backrooms_01
execute if score RNG RNG_Variable matches 126 run place template backrooms:thegroovysloth9
execute if score RNG RNG_Variable matches 127 run place template backrooms:thegroovysloth3
execute if score RNG RNG_Variable matches 128 run place template backrooms:thegroovysloth
execute if score RNG RNG_Variable matches 129 run place template backrooms:office_sib315
execute if score RNG RNG_Variable matches 130 run place template backrooms:n0tquitenull_sk8p4rk
execute if score RNG RNG_Variable matches 131 run place template backrooms:mars_xoxoxo
execute if score RNG RNG_Variable matches 132 run place template backrooms:ldanvil_corridor_ring
execute if score RNG RNG_Variable matches 133 run place template backrooms:l1minalspace_musuem
execute if score RNG RNG_Variable matches 134 run place template backrooms:l1minalspace_bookstore1.2
execute if score RNG RNG_Variable matches 135 run place template backrooms:itsevelyn_ender_drain
execute if score RNG RNG_Variable matches 136 run place template backrooms:itsevelyn_certus_meteor
execute if score RNG RNG_Variable matches 137 run place template backrooms:blueduck_hotel_junction
execute if score RNG RNG_Variable matches 138 run place template backrooms:gecco_testchamber00
execute if score RNG RNG_Variable matches 139 run place template backrooms:cyansoup_suburb_intersection
execute if score RNG RNG_Variable matches 140 run place template backrooms:cyansoup_ruinedsmeltery