1

I need command block help for a map

SpeedUHC 11/8/14 11:22 am
1.6k
11/19/2014 12:48 pm
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
Posted by
SpeedUHC
Level 16 : Journeyman Button Pusher
6

  Have something to say?

JoinSign in

4

MysteeriousGuy
11/19/2014 12:48 pm
Level 1 : New Explorer
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
1
Veritas025
11/12/2014 11:23 am
Level 55 : Grandmaster System
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
1
OneWhiteWolf
11/08/2014 12:20 pm
Level 31 : Artisan Procrastinator
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
1
Davekillerish
11/12/2014 12:12 pm
Level 24 : Expert Nerd
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.
1

Welcome