No message is sent to the screen of the player variable

  • 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 community!

    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!

arbuziksp

Member
Nov 22, 2023
3
0
1
I'm trying to send the {aboba1} variable a screen caption, but it's not being sent out


Code:
on death of player:
    if "%attacker%" contains "ender crystal":
        if {aboba1} is set:
            add 1 to {kills::%metadata value "playerWhoDetonated" of attacker parsed as player%}
            send {aboba1} title "<##FF5862>- %victim%" with subtitle "<##9CFF1D>SinusSMP.ru" for 1 seconds
            clear {aboba1}

on damage of ender crystal:
    if damager is a player:
        set {aboba1} to attacker
 
I don't fully know what you are trying to do. But instead of using
Code:
if "%attacker%" contains "ender crystal"
you can use
Code:
if attacker contains ("ender crystal" or ender crystal or "end crystal" or end crystal)

Please can you send the error messages