How to Make a Timer Using Command Blocks
A timer function you can use in your builds! This is an essential thing to know if you are making maps, data-packs, command block structures, or just playing around. Make sure you leave a like on the video if you enjoyed. If you have any ideas for other videos like this, let me know by sending a message in my discord server! โฌโฌ๐๐ข๐ ๐ ๐๐ก๐๐ฆโฌโฌ โบ Run in chat: /give @s command_block /scoreboard objectives add timer dummy โโ (Optional to make the scoreboard visible) โโ /scoreboard objectives setdisplay sidebar timer โบ Repeating command blocks: โโ (Needs redstone) โโ scoreboard players add [your-ign] timer 1 โโ (Always active) โโ execute as @a[scores={timer=202}] run scoreboard players set @s timer 201 execute as @a[scores={timer=1}] run say You have 10 seconds execute as @a[scores={timer=200}] run say Times up! โโ (Use these if you want the title. Always active) โโ execute as @a[scores={timer=1}] run title @s subtitle {"text":"10 seconds!","italic":true,"color":"green"} execute as @a[scores={timer=1}] run title @s title {"text":"GO!","italic":true,"color":"green"} execute as @a[scores={timer=200}] run title @s subtitle {"text":"Time's up!","italic":true,"color":"red"} execute as @a[scores={timer=200}] run title @s title {"text":"STOP!","italic":true,"color":"red"} โบ Impulse Command block (Needs redstone): scoreboard players set @a timer 0 ๐ช๐ฎ๐๐ฐ๐ต ๐บ๐ฒ ๐ผ๐ป ๐๐๐ถ๐๐ฐ๐ต http://twitch.silentassassins.net ๐๐ผ๐ถ๐ป ๐บ๐ ๐๐ถ๐๐ฐ๐ผ๐ฟ๐ฑ if you have video suggestions, or if you want to stay up-to-date with my videos: http://discord.silentassassins.net To edit my videos, I use Openshot: https://www.openshot.org/ #commandblock #minecraftcommand
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.