scoreboard players set max RNG_Constant 75
function backrooms:rng

execute if score RNG RNG_Variable matches 1 run place template backrooms:base_room
execute if score RNG RNG_Variable matches 2 run place template backrooms:3_way_fixed
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_fixed
execute if score RNG RNG_Variable matches 6 run place template backrooms:bedrock1
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_fixed
execute if score RNG RNG_Variable matches 11 run place template backrooms:chair_pillars
execute if score RNG RNG_Variable matches 12 run place template backrooms:connected_cross
execute if score RNG RNG_Variable matches 13 run place template backrooms:corridor_fixed
execute if score RNG RNG_Variable matches 14 run place template backrooms:corridor2_fixed
execute if score RNG RNG_Variable matches 15 run place template backrooms:cross_section
execute if score RNG RNG_Variable matches 16 run place template backrooms:weird_chair
execute if score RNG RNG_Variable matches 17 run place template backrooms:empty_pool
execute if score RNG RNG_Variable matches 18 run place template backrooms:empty_pool2
execute if score RNG RNG_Variable matches 19 run place template backrooms:eye_pit_fixed
execute if score RNG RNG_Variable matches 20 run place template backrooms:grass_table_fixed
execute if score RNG RNG_Variable matches 21 run place template backrooms:hanging_sign_fixed
execute if score RNG RNG_Variable matches 22 run place template backrooms:huge_1
execute if score RNG RNG_Variable matches 23 run place template backrooms:huge_2
execute if score RNG RNG_Variable matches 24 run place template backrooms:huge_3
execute if score RNG RNG_Variable matches 25 run place template backrooms:huge_4
execute if score RNG RNG_Variable matches 26 run place template backrooms:huge_hidden
execute if score RNG RNG_Variable matches 27 run place template backrooms:large_cross
execute if score RNG RNG_Variable matches 28 run place template backrooms:logic
execute if score RNG RNG_Variable matches 29 run place template backrooms:long_gap
execute if score RNG RNG_Variable matches 30 run place template backrooms:long_kitchen
execute if score RNG RNG_Variable matches 31 run place template backrooms:long_stairs_fixed
execute if score RNG RNG_Variable matches 32 run place template backrooms:mail_room
execute if score RNG RNG_Variable matches 33 run place template backrooms:main_cross_1
execute if score RNG RNG_Variable matches 34 run place template backrooms:main_cross_2
execute if score RNG RNG_Variable matches 35 run place template backrooms:main_cross_3_fixed
execute if score RNG RNG_Variable matches 36 run place template backrooms:main_cross_4_fixed
execute if score RNG RNG_Variable matches 37 run place template backrooms:main_cross_5
execute if score RNG RNG_Variable matches 38 run place template backrooms:main_cross_6
execute if score RNG RNG_Variable matches 39 run place template backrooms:meteor_3_fixed
execute if score RNG RNG_Variable matches 40 run place template backrooms:moist
execute if score RNG RNG_Variable matches 41 run place template backrooms:moyai_fixed
execute if score RNG RNG_Variable matches 42 run place template backrooms:origin
execute if score RNG RNG_Variable matches 43 run place template backrooms:pillars
execute if score RNG RNG_Variable matches 44 run place template backrooms:piss_room_fixed
execute if score RNG RNG_Variable matches 45 run place template backrooms:plate_room
execute if score RNG RNG_Variable matches 46 run place template backrooms:reception_fixed
execute if score RNG RNG_Variable matches 47 run place template backrooms:reception2_fixed
execute if score RNG RNG_Variable matches 48 run place template backrooms:red_carpet_fixed
execute if score RNG RNG_Variable matches 49 run place template backrooms:red_chair_fixed
execute if score RNG RNG_Variable matches 50 run place template backrooms:ring_open_fixed
execute if score RNG RNG_Variable matches 51 run place template backrooms:rings_fixed
execute if score RNG RNG_Variable matches 52 run place template backrooms:rotating_chair
execute if score RNG RNG_Variable matches 53 run place template backrooms:scale_fixed
execute if score RNG RNG_Variable matches 54 run place template backrooms:secret_error_fixed
execute if score RNG RNG_Variable matches 55 run place template backrooms:semi_hiden
execute if score RNG RNG_Variable matches 56 run place template backrooms:corridor3
execute if score RNG RNG_Variable matches 57 run place template backrooms:sofa_pillars
execute if score RNG RNG_Variable matches 58 run place template backrooms:stairs_fixed
execute if score RNG RNG_Variable matches 59 run place template backrooms:stop_wall_fixed
execute if score RNG RNG_Variable matches 60 run place template backrooms:sugar_cube
execute if score RNG RNG_Variable matches 61 run place template backrooms:sunset
execute if score RNG RNG_Variable matches 62 run place template backrooms:toaster_trap_fixed
execute if score RNG RNG_Variable matches 63 run place template backrooms:toilet_fixed
execute if score RNG RNG_Variable matches 64 run place template backrooms:vending_machine_fixed
execute if score RNG RNG_Variable matches 65 run place template backrooms:trampoline_jump_fixed
execute if score RNG RNG_Variable matches 66 run place template backrooms:trampoline
execute if score RNG RNG_Variable matches 67 run place template backrooms:tree
execute if score RNG RNG_Variable matches 68 run place template backrooms:up_down_fixed
execute if score RNG RNG_Variable matches 69 run place template backrooms:vending_machine_fixed
execute if score RNG RNG_Variable matches 70 run place template backrooms:wallpaper
execute if score RNG RNG_Variable matches 71 run place template backrooms:wallpaper2
execute if score RNG RNG_Variable matches 72 run place template backrooms:dance_music
execute if score RNG RNG_Variable matches 73 run place template backrooms:padded_bird_fixed
execute if score RNG RNG_Variable matches 74 run place template backrooms:ace_creepypasta
execute if score RNG RNG_Variable matches 75 run place template backrooms:ace_pillars_thin