• 0

    posted a message on give effects when someone spawns

    I'm a little late to this party, but I'd like to help anyone who sees this in the future. dalor_homer was close, but not quite right.


    You're going to need to type this in chat:

    /scoreboard objectives add time minecraft.custom:minecraft.time_since_death


    Then, put this into a repeating command block on always active:

    execute as @a if score @s time matches 1 run effect give @s <effect> <seconds> <intensity>


    There you go! Hope this helped!

    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please .