1
I would like to summon a firework on a player death, and make a thunder sound in 1.8 using command blocks. Also when a player dies I would like to set a players gamemode to spectator
4
Urg I hate it so much when people keep thinking of /testfor
DO NOT USE TESTFOR IF IT'S NOT FOR A NOT-GATE OR NBT
Actually you use scoreboard for NBT instead
When you execute you already search for the conditions, and /testfor will also not work on too fast clocks
DO NOT USE TESTFOR IF IT'S NOT FOR A NOT-GATE OR NBT
Actually you use scoreboard for NBT instead
When you execute you already search for the conditions, and /testfor will also not work on too fast clocks
Use the testfor command and scoreboard coomand playerDeathCount and then /summon and /playsound and connect them with repeaters and comparators, will this work, probably not I'm just giving a general idea
you could use a scoreboard set to track players health then set a commandblock to detect when they have 0 health
and when that commandblock is triggered have it power some command blocks to set the players with 0 health to gamemode 3 and summon a firework at their body
and when that commandblock is triggered have it power some command blocks to set the players with 0 health to gamemode 3 and summon a firework at their body
That is a good idea, But its too complex.
Simply have a scoreboard set to playerDeaths
Set command blocks in this order:
testfor @e[score_NAMEIT_min=1]
execute @e[score_NAMEIT_min=1] ~ ~ ~ summon firework command
execute @e[score_NAMEIT_min=1] ~ ~ ~ tp to area or playsound
execute @e[score_NAMEIT_min=1] ~ ~ ~ gamemode 3 @e[score_NAMEIT_min=1]
scoreboard players set @e[score_NAMEIT_min=1] NAMEIT 0
Self Resetting system.
Simply have a scoreboard set to playerDeaths
Set command blocks in this order:
testfor @e[score_NAMEIT_min=1]
execute @e[score_NAMEIT_min=1] ~ ~ ~ summon firework command
execute @e[score_NAMEIT_min=1] ~ ~ ~ tp to area or playsound
execute @e[score_NAMEIT_min=1] ~ ~ ~ gamemode 3 @e[score_NAMEIT_min=1]
scoreboard players set @e[score_NAMEIT_min=1] NAMEIT 0
Self Resetting system.
