Solved how to send subtitle to all players???????

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

AlliSighs

Member
Feb 12, 2024
41
0
6
14
Code:
every 0.1 second:
    set {_highest} to -1
    set {_player} to "none"
    loop all players:
        if loop-player's y-coordinate is greater than {_highest}:
            set {_highest} to loop-player's y-coordinate
            set {_player} to loop-player's name
    send subtitle "&e&l%{_player}% &a- &e&lпокоритель высот сейчас! &7(он на &a&l%{_highest}%&7 высоте)"

how to send subtitle to all players???????
 
every 0.1 second:
set {_highest} to -1
set {_player} to "none"
loop all players:
if loop-player's y-coordinate is greater than {_highest}:
set {_highest} to loop-player's y-coordinate
set {_player} to loop-player's name
send title "&a" to all players
send subtitle "&e&l%{_player}% &a- &e&lпокоритель высот сейчас! &7(он на &a&l%{_highest}%&7 высоте)" to all players
 
Last edited:

every 0.1 second:
set {_highest} to -1
set {_player} to "none"
loop all players:
if loop-player's y-coordinate is greater than {_highest}:
set {_highest} to loop-player's y-coordinate
set {_player} to loop-player's name
send subtitle "&e&l%{_player}% &a- &e&lпокоритель высот сейчас! &7(он на &a&l%{_highest}%&7 высоте)" to all players
thx