tag @e[tag=maid.playerroom] remove maid.playerroom
execute if entity @a[x=-1005,y=50,z=-961,dx=4,dy=3,dz=7,team=maid] run tag @e[tag=maid.event,x=-1005,y=50,z=-961,dx=4,dy=3,dz=7] add maid.playerroom
execute if entity @a[x=-1012,y=50,z=-961,dx=7,dy=3,dz=7,team=maid] run tag @e[tag=maid.event,x=-1012,y=50,z=-961,dx=7,dy=3,dz=7] add maid.playerroom
execute if entity @a[x=-1015,y=50,z=-971,dx=14,dy=3,dz=7,team=maid] run tag @e[tag=maid.event,x=-1015,y=50,z=-971,dx=14,dy=3,dz=7] add maid.playerroom
execute if entity @a[x=-1015,y=49,z=-964,dx=14,dy=4,dz=3,team=maid] run tag @e[tag=maid.event,x=-1015,y=49,z=-964,dx=14,dy=4,dz=3] add maid.playerroom
execute if entity @a[x=-1015,y=53,z=-963,dx=14,dy=6,dz=9,team=maid] run tag @e[tag=maid.event,x=-1015,y=53,z=-963,dx=14,dy=6,dz=9] add maid.playerroom
execute if entity @a[x=-1015,y=54,z=-971,dx=14,dy=5,dz=7,team=maid] run tag @e[tag=maid.event,x=-1015,y=54,z=-971,dx=14,dy=5,dz=7] add maid.playerroom
execute if entity @a[x=-1000,y=54,z=-971,dx=3,dy=3,dz=21,team=maid] run tag @e[tag=maid.event,x=-1000,y=54,z=-971,dx=3,dy=3,dz=21] add maid.playerroom
execute if entity @a[x=-1015,y=54,z=-953,dx=18,dy=3,dz=3,team=maid] run tag @e[tag=maid.event,x=-1015,y=54,z=-953,dx=18,dy=3,dz=3] add maid.playerroom
execute if entity @a[x=-1015,y=48,z=-962,dx=3,dy=5,dz=8,team=maid] run tag @e[tag=maid.event,x=-1015,y=48,z=-962,dx=3,dy=5,dz=8] add maid.playerroom
execute store result score .maidevent maid.values run random value 1..1000
execute if score .maidevent maid.values matches 1..500 run function ws:work/misc/tier2/maid/events/spawndust
execute if score .maidevent maid.values matches 250..750 run function ws:work/misc/tier2/maid/events/spawndust
execute if score .maidevent maid.values matches 450..950 run function ws:work/misc/tier2/maid/events/spawndust
execute if score .maidevent maid.values matches 1..200 run function ws:work/misc/tier2/maid/events/spawnblood
execute if score .maidevent maid.values matches 900..1000 run function ws:work/misc/tier2/maid/events/spawnink
execute if score .maidevent maid.values matches 875..950 run function ws:work/misc/tier2/maid/events/spawnink
execute if score .maidevent maid.values matches 1..100 run function ws:work/misc/tier2/maid/events/movecup
execute if score .maidevent maid.values matches 200..300 run function ws:work/misc/tier2/maid/events/movecup
execute if score .maidevent maid.values matches 800..950 run function ws:work/misc/tier2/maid/events/moveplate
execute if score .maidevent maid.values matches 42 run function ws:work/misc/tier2/maid/events/tvactivate
execute if score .maidevent maid.values matches 420..519 run function ws:work/misc/tier2/maid/events/tvactivate
scoreboard players reset .maidevent maid.values