TransWikia.com

How to run a redstone signal if a scoreboard is a certain amount

Arqade Asked by Ge0man on April 19, 2021

Here’s what I’m trying to do, I have a scoreboard that’s called Deaths, I want to run a command if it gets to 5, how can I do this?

One Answer

Have a repeating command block running the below command into a conditional chain block which starts your logic when deaths reaches 5.

/scoreboard players test @a Deaths 5 

If you need to create a redstone signal you can /setblock x y z redstone_block from the next command block in the chain.

Answered by peabody on April 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP