#loop-player problem

1 messages · Page 1 of 1 (latest)

zinc cedar
#

SK Info:

[05:55:33 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[05:55:33 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[05:55:33 INFO]: [Skript] Server Version: git-Paper-81 (MC: 1.19)
[05:55:33 INFO]: [Skript] Skript Version: 2.7.0-beta2 (skriptlang-github)
[05:55:33 INFO]: [Skript] Installed Skript Addons: 
[05:55:33 INFO]: [Skript]  - skript-reflect v2.3.1-for-skript-beta (https://github.com/TPGamesNL/skript-reflect)
[05:55:33 INFO]: [Skript]  - SkBee v2.8.4 (https://github.com/ShaneBeee/SkBee)
[05:55:33 INFO]: [Skript] Installed dependencies: None```
#

[07:32:32 INFO]: There's no loop that matches 'loop-player has 7 of skull’

how do I fix this

cyan ferry
zinc cedar
hasty peak
#

7 of skull: what?

zinc cedar
#
                set {_temp} to the amount of skull loop-player with custom nbt "{isuptemupgrade:1}" in loop-player's inventory
                set {_drop} to {_temp}-1
                drop {_drop} skull of loop-player with custom nbt "{isuptemupgrade:1}" and name "Upgraded Temporary Buff"```
cyan ferry
#

show us all of this part of code

#

not only a small part of it

zinc cedar
#

it’s a little long

#

but it’s mostly repeat with a different item

#

with a “every second:
loop all players:”
above it

zinc cedar
# cyan ferry show us all of this part of code
    loop all players:
        if loop-player has 2 of skull of loop-player with custom nbt "{isuptemupgrade:1}":
            set {_temp} to the amount of skull loop-player with custom nbt "{isuptemupgrade:1}" in loop-player's inventory
            set {_drop} to {_temp}-1
          drop {_drop} skull of loop-player with custom nbt "{isuptemupgrade:1}" and name "Upgraded Temporary Buff"```
#

wait oops sorry for the ping

sharp niche
#

use skBee for nbt

zinc cedar
#

I am

#

that’s not the problem bruh

#

i clearly stated it’s a problem with the “loop-player” part