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

  • 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.
NameTagEdit? There is nothing in this topic yet.
Code:
every 1 ticks:
    loop all players:
        if {gmbh.%loop-player%} is false:
            create armorstand with nbt "{Invisible:1b}" at player's location
            set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
            wait 1 ticks
            loop all entities in radius 1 around loop-player:
                if loop-entity-1 is armor stand:
                    kill loop-entity-1
                    stop
        if {gmbh.%loop-player%} is true:
            bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
            stop
At this point is 1 error and im about to give up :emoji_unamused:
 
  • Like
Reactions: Philotastisch
Code:
every 1 ticks:
    loop all players:
        if {gmbh.%loop-player%} is false:
            create armorstand with nbt "{Invisible:1b}" at player's location
            set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
            wait 1 ticks
            loop all entities in radius 1 around loop-player:
                if loop-entity-1 is armor stand:
                    kill loop-entity-1
                    stop
        if {gmbh.%loop-player%} is true:
            bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
            stop
At this point is 1 error and im about to give up :emoji_unamused:
Custom NBT is not supported have sad grandma Google.
 
Try this buddy
Code:
every 1 ticks in "world":
    loop all players:
        if loop-player is in "world":
            if {gmbh.%loop-player%} is false:
                create armorstand with nbt "{Invisible:1b}" at loop-player location
                set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
                wait 1 ticks
                loop all entities in radius 1 around loop-player:
                    if loop-entity-1 is armor stand:
                        kill loop-entity-1
                        stop
        if {gmbh.%loop-player%} is true:
            bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
            stop
you only have to match loop-player
ERROR: There's no loop that matches loop-player
[doublepost=1579989817,1579989779][/doublepost]
Custom NBT is not supported have sad grandma Google.
what do you mean ?
 
Code:
[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')
[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:')
:emoji_confounded:
 
Code:
[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')
[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:')
:emoji_confounded:
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
 
im running on a 1.8.8 Server.

Code:
every 1 ticks:
    loop all players:
        if {gmbh.%loop-player%} is false:
            create armorstand with nbt "{Invisible:1b}" at player's location
            set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
            wait 1 ticks
            loop all entities in radius 1 around loop-player:
                if armor stands in radius 2 of loop-player are set:
                    kill loop-entity
                    stop
        if {gmbh.%loop-player%} is true:
            bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
            stop
 
is ur server working ? can i join because through forum is little hard to talk :/
[doublepost=1580031389,1580030698][/doublepost]That's what i can do max i cant fix that 1 error im not that good coder :/
Code:
every 1 ticks in "world":
    loop all players:
        if loop-player is in "world":
            if {gmbh.%loop-player%} is false:
                create armorstand with nbt "{Invisible:1b}" at the player
                set name of last spawned entity to "&eIn Firma: %{gmbh.e.%loop-player%}%"
                wait 1 ticks
                loop all entities in radius 1 around loop-player:
                    if loop-entity-1 is armor stand:
                        kill loop-entity-1
        stop
        if {gmbh.%loop-player%} is true:
            bind hologram "&bBesitzt Firma&8 &e%{n.gmbh.%loop-player%}%" to loop-player for 1 ticks offset by 0.0, 3.0, 0.0
            stop
 
Status
Not open for further replies.