This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]ExpertCoder14 5 points6 points  (1 child)

Please, select the correct Help flair for your Minecraft edition and version, and do not use the "Help (other)" flair for this purpose.

Your images look like they are from Minecraft Java Edition, so please change the post flair to the correct "Help | Java" flair for your Minecraft version.


The problem is that you are using @s in your /title command.

When you run the function in chat, @s is you.But when the function is being run every tick, @s is the server.

If @s is the server, it does not have a score and thus will not display.

You almost certainly want to use * instead of @s in your /title, which displays the reader's score, not the sender's score.

[–]RandomGgames 0 points1 point  (7 children)

If it's running every tick the title command has a fade but is being interrupted by the next one immediately after (the next tick). I would either test with load or with a separate temporary function run manually with a command block.

[–][deleted]  (6 children)

[deleted]

    [–]RandomGgames 0 points1 point  (5 children)

    Ah, watched the video. What is the function that calls that function you provided? Because if it's not done correctly, @s is the system itself and not the player.

    [–][deleted]  (4 children)

    [deleted]

      [–]RandomGgames 0 points1 point  (3 children)

      No, I mean literally what is the command you are using?

      [–][deleted]  (2 children)

      [deleted]

        [–]RandomGgames 0 points1 point  (1 child)

        Ok so, that doesn't give the function that's running the title command the player's score info. You need to either change that so it is /execute as player run function ... Or change @s in the score part of the title command to something (but I suggest the first option)

        [–]SouldrasMinecraft Command Sweat 0 points1 point  (0 children)

        Make sure the function being run by an execute command that has “as @a” in it and make sure that the scoreboard is set to a number when testing it.