1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Display Names

Discussion in 'Skript' started by ChocoAura, Jul 28, 2019.

Thread Status:
Not open for further replies.
  1. ChocoAura

    ChocoAura Member

    Joined:
    Jul 3, 2019
    Messages:
    38
    Likes Received:
    0
    I want to make a skript where the player's display name is the same as their tab list name:

    <rank> <player>

    My code right know is

    set player's display name to "%{rank.%player%}% %player%"

    There are no errors, but it doesn't work. i used the same code for the tablist, and it worked. Any thoughts?
     
  2. GiorgixPRO

    GiorgixPRO Member

    Joined:
    Jul 29, 2017
    Messages:
    44
    Likes Received:
    0
    You need to install Skrayfall and then try this code:
    Code (Text):
    1. every 2 seconds:
    2.     loop players:
    3.         set the loop-player's display name to "%{rank.%loop-player%}% %name of loop-player%"
    4.         set loop-player tab name to "%{rank.%loop-player%}% %name of loop-player%"
     
Thread Status:
Not open for further replies.

Share This Page

Loading...