03-26-2017, 05:59 PM
I was just looking around the forums, and I stumbled upon your post.
For the armorstand, you could use this to add the armorstand: /scoreboard players add @e[name="name",type=ArmorStand] <objective> <amount>
and this to check: /execute @e[type=ArmorStand,score_<objective>_min=24000] ~ ~ ~ kill @a
To get 1200 seconds, or 20 minutes, you could add a repeating commandblock which adds 1 to a scoreboard, Basically, 1 every tick. And there are 24,000 ticks in 20 minutes, since that is the length of a Minecraft day. And to reset you can just set the scoreboard back to zero.
I hope this helps!
For the armorstand, you could use this to add the armorstand: /scoreboard players add @e[name="name",type=ArmorStand] <objective> <amount>
and this to check: /execute @e[type=ArmorStand,score_<objective>_min=24000] ~ ~ ~ kill @a
To get 1200 seconds, or 20 minutes, you could add a repeating commandblock which adds 1 to a scoreboard, Basically, 1 every tick. And there are 24,000 ticks in 20 minutes, since that is the length of a Minecraft day. And to reset you can just set the scoreboard back to zero.
I hope this helps!