js admin.mcfunction execute as @a[scores={AdminMode=1..}] if score #adminON AdminMode matches 1.. run function game:lobby/settings/admin/admin_mode_on execute as @a[scores={AdminMode=1..}] if score #adminON AdminMode matches ..0 run function game:lobby/settings/admin/admin_mode_off scoreboard players set @a AdminMode 0js admin_mode_off.mcfunction scoreboard players set #adminOn AdminMode 0 # Settings Area fill 55 52 -128 51 52 -128 minecraft:white_stained_glass fill 51 52 -128 51 52 -133 minecraft:white_stained_glass # Start Area fill 51 52 -115 51 52 -120 minecraft:white_stained_glass fill 50 52 -120 42 52 -120 minecraft:white_stained_glass fill 41 52 -120 41 52 -115 minecraft:white_stained_glass
and
js admin_mode_on.mcfunction scoreboard players set #adminOn AdminMode 1 # Settings Area fill 55 52 -128 51 52 -128 minecraft:black_stained_glass fill 51 52 -128 51 52 -133 minecraft:black_stained_glass # Start Area fill 51 52 -115 51 52 -120 minecraft:black_stained_glass fill 50 52 -120 42 52 -120 minecraft:black_stained_glass fill 41 52 -120 41 52 -115 minecraft:black_stained_glass # Tp back peeps! execute as @a[tag=!admin] at @s if block ~ ~-1 ~ minecraft:black_stained_glass run tp @s 46 53 -124 execute as @a[tag=!admin] at @s if block ~ ~-2 ~ minecraft:black_stained_glass run tp @s 46 53 -124 execute as @a[tag=!admin] at @s if block ~ ~-3 ~ minecraft:black_stained_glass run tp @s 46 53 -124 execute as @a[tag=!hosr] at @s if block ~ ~-1 ~ minecraft:black_stained_glass run tp @s 46 53 -124 execute as @a[tag=!host] at @s if block ~ ~-2 ~ minecraft:black_stained_glass run tp @s 46 53 -124
Everytime i /trigger it sets itself to off no matter what which is what I DONT want that to happen.
I have tried as many possible combations as i can to solving this.
It's bascily being nullfied