Display Variables in Holographic Display

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

Status
Not open for further replies.

Ter2FIc

Member
Dec 30, 2020
20
0
1
24
I tried to display variables in skript. I made a variables 'honor' which is the player gets 1 point in each kill, but I couldn't display the top 10 highest players with honor points. :emoji_grinning:
Code:
on death of player:
    add 1 to {honor::%attacker%}
    message "&fYou got &41 &3honor &fby killing %victim%!" to attacker
    remove 10 from {honor::%victim%}
    message "&fYou lost &410 &3honor &f because you were killed by %attacker%." to victim

command /viewpoint:
    trigger:
        send "You have total &3%{honor::%player%}% &fhonor."


But it was too hard for me :emoji_frowning:

I use PlaceholderAPI, Holographic Display, Holographic Extension
Is there any plugins that I need to add more?
 
Last edited:
Do you use the skript version of holographic bc you should probably use that.. dont know how good it is tho lol
 
Ohhh,
Code:
if {thisvariable} >= {thisvarible2}:
    send message "{thisvariable}" to player
else:
    send message "{thisvariable2}" to player
 
Status
Not open for further replies.