scoreboard players set #toggle timestop.dummy 1

execute store result score #doDaylightCycle timestop.dummy run gamerule doDaylightCycle
execute store result score #doWeatherCycle timestop.dummy run gamerule doWeatherCycle
execute store result score #doMobSpawning timestop.dummy run gamerule doMobSpawning

gamerule doDaylightCycle false
gamerule doWeatherCycle false
gamerule doMobSpawning false
