Jump to content

Loop all players skript broken


_WakandaForever_

Recommended Posts

All my loop all players skripts just broke; no errors when I reload them they just don't work.

1 of my skripts:

every tick:
    loop all players:
        if lore of loop-player's boots contain "&4Speed II":
            if {speed.%loop-player%} is false:
                apply swiftness of tier 2 to the loop-player for 9999 days
                set {speed.%loop-player%} to true

worked for a while but just stopped working.

Link to comment
Share on other sites

here is my solution:

 

on join:
    set {speed.%player%} to false
every tick:
    loop all players:
        if lore of loop-player's boots contain "&4Speed II":

            if {speed.%loop-player%} is false:
                apply swiftness of tier 2 to the loop-player for 9999 days
                set {speed.%loop-player%} to true

Link to comment
Share on other sites

3 minutes ago, nicoalla said:

here is my solution:

 

on join:
    set {speed.%player%} to false
every tick:
    loop all players:
        if lore of loop-player's boots contain "&4Speed II":

            if {speed.%loop-player%} is false:
                apply swiftness of tier 2 to the loop-player for 9999 days
                set {speed.%loop-player%} to true

I just didn't include the full skript, it's just like that. The skripts just completely broke down.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...