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.

Solved set score with SkRayfall (under players name) (German; English)

Discussion in 'Skript' started by Philotastisch, Jan 25, 2020.

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

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
  2. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    kinda, trying to fix last issue with ur skript :emoji_stuck_out_tongue:
     
  3. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    NameTagEdit? There is nothing in this topic yet. :emoji_unamused:
     
  4. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    Code (Text):
    1. every 1 ticks:
    2.     loop all players:
    3.         if {gmbh.%loop-player%} is false:
    4.             create armorstand with nbt "{Invisible:1b}" at player's location
    5.             set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
    6.             wait 1 ticks
    7.             loop all entities in radius 1 around loop-player:
    8.                 if loop-entity-1 is armor stand:
    9.                     kill loop-entity-1
    10.                     stop
    11.         if {gmbh.%loop-player%} is true:
    12.             bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
    13.             stop
    14.  
    At this point is 1 error and im about to give up :emoji_unamused:
     
    • Like Like x 1
  5. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    Custom NBT is not supported have sad grandma Google.
     
  6. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    Try this buddy
    Code (Text):
    1. every 1 ticks in "world":
    2.     loop all players:
    3.         if loop-player is in "world":
    4.             if {gmbh.%loop-player%} is false:
    5.                 create armorstand with nbt "{Invisible:1b}" at loop-player location
    6.                 set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
    7.                 wait 1 ticks
    8.                 loop all entities in radius 1 around loop-player:
    9.                     if loop-entity-1 is armor stand:
    10.                         kill loop-entity-1
    11.                         stop
    12.         if {gmbh.%loop-player%} is true:
    13.             bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
    14.             stop
    15.  
    you only have to match loop-player
    ERROR: There's no loop that matches loop-player
    --- Double Post Merged, Jan 25, 2020, Original Post Date: Jan 25, 2020 ---
    what do you mean ?
     
  7. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    I have heard, it can this but i dont know how.
     
  8. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    try newest code i've sended
    --- Double Post Merged, Jan 25, 2020, Original Post Date: Jan 25, 2020 ---
    does it work ? let me know
     
  9. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    Code (Text):
    1. [25.01.2020 22:23:56] INFO: [CB-Prime-1] [22:23:56 ERROR]: 'nbt "{Invisible:1b}" at loop-player' is not an entity type (gmbh.sk, line 5: create armorstand with nbt "{Invisible:1b}" at loop-player's location')
    2. [25.01.2020 22:23:56] INFO: [CB-Prime-1] [22:23:56 ERROR]: 'armor stan' is not a number (gmbh.sk, line 9: if loop-entity-1 is armor stand:')
    3.  
    :emoji_confounded:
     
  10. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    i have those addons :
    Skrayfall
    SKQuerry
    Skellett
    ProtocolLib
    mundoSK
    and im running on a 1.15.1 server :/
    EDIT: send code because i see something dumb in code
     
  11. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    im running on a 1.8.8 Server.

    Code (Text):
    1. every 1 ticks:
    2.     loop all players:
    3.         if {gmbh.%loop-player%} is false:
    4.             create armorstand with nbt "{Invisible:1b}" at player's location
    5.             set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
    6.             wait 1 ticks
    7.             loop all entities in radius 1 around loop-player:
    8.                 if armor stands in radius 2 of loop-player are set:
    9.                     kill loop-entity
    10.                     stop
    11.         if {gmbh.%loop-player%} is true:
    12.             bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
    13.             stop
    14.  
     
  12. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    is ur server working ? can i join because through forum is little hard to talk :/
    --- Double Post Merged, Jan 26, 2020, Original Post Date: Jan 26, 2020 ---
    That's what i can do max i cant fix that 1 error im not that good coder :/
    Code (Text):
    1. every 1 ticks in "world":
    2.     loop all players:
    3.         if loop-player is in "world":
    4.             if {gmbh.%loop-player%} is false:
    5.                 create armorstand with nbt "{Invisible:1b}" at the player
    6.                 set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
    7.                 wait 1 ticks
    8.                 loop all entities in radius 1 around loop-player:
    9.                     if loop-entity-1 is armor stand:
    10.                         kill loop-entity-1
    11.         stop
    12.         if {gmbh.%loop-player%} is true:
    13.             bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
    14.             stop
    15.  
     
  13. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    playtopic.de
    --- Double Post Merged, Feb 27, 2020, Original Post Date: Jan 26, 2020 ---
    #CLOSE
     
Thread Status:
Not open for further replies.

Share This Page

Loading...