#Actionbar doesn't show up constantly
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
# actionbar for lives using playerdeath if 0 deaths = 10 Lives
execute as @a run scoreboard players operation @s playerdeath = @s playerdeath
execute as @a run title @s actionbar ["",{"text":">> | ","color":"gold"},{"text":"Deaths: ","bold":true,"color":"dark_red"},{"score":{"name":"@s","objective":"playerdeath"},"bold":true,"color":"red"},{"text":" | <<","color":"gold"}]
# When player reaches 10 deaths
title @a[scores={playerdeath=10}] times 10 60 10
execute as @a[scores={playerdeath=10}] run title @a subtitle {"text":" Has lost all of his lives","bold":true,"color":"dark_red"}
execute as @a[scores={playerdeath=10}] run title @a title ["",{"selector":"@s","bold":true,"color":"red"}]
execute as @a[scores={playerdeath=10}] run ban @s You've lost all of your lives
execute as @s[scores={playerdeath=10}] run tellraw @a ["",{"selector":"@s","bold":true,"color":"red"},{"text":" Has lost all of his lives","bold":true,"color":"dark_red"}]```
The entire code for the 10 lives
Keep in mind this is in 1.20.1
Your question, #1257306755675983922 (Actionbar doesn't show up constantly), was resolved!
#1257306755675983922 message
37m
Sorry, misclick
Re-opened the channel. Make sure to close it again once you're done.
So none of this runs, when you have 10 playerdeaths?
And this is running every tick I guess?
yes
nope
<@&935561184806060073> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
so?
Try adding a /say command in there, just to check it's actually running
i fixed it
If your question is resolved, that's great to hear! Make sure to run /resolve or click the Resolve Question button. Otherwise, feel free to continue asking for help! :D
Your question, #1257306755675983922 (Actionbar doesn't show up constantly), was resolved!
#1257306755675983922 message
1d6h52m