#error

1 messages ยท Page 1 of 1 (latest)

naive musk
#

every time i type any command i keep getting this error

#

and yes, spawn skript is correct, it used to work but randomly skript stopped working

#

some skripts work but some dont

#

like my /kits works, but /spawn dosent work

naive musk
#

command /setspawn:
permission: staff.setspawn
permission message: &x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bYou dont have permission to this command!
trigger:
set {spawn.location} to location of player
send "&x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bSpawn set to %location of player%"

command /spawn:
trigger:
set {_c} to 5
set {_l} to location of player
while {_c} > 0:
if distance between {_l} and location of player is not 0:
send "a"
stop
set {_l} to location of player
if {_l} is {_l}:
send "b "
remove 1 from {_c}
wait 1 second
teleport player to {spawn.location}
send "c!"

command staffspawn:
permission: staff.spawn
trigger:
teleport player to {spawn.location}
send "&x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bTeleported to spawn!"

command rankspawn:
permission: rank.spawn
trigger:
teleport player to {spawn.location}
send "&x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bTeleported to spawn!"

command /delspawn:
permission: server.deletespawn
trigger:
delete {spawn.location}
send "You have deleted &cSpawn"

naive musk
#
command /setspawn:
     permission: staff.setspawn
     permission message: &x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bYou dont have permission to this command!
     trigger:
          set {spawn.location} to location of player
          send "&x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bSpawn set to %location of player%"

command /spawn:
     trigger:
          set {_c} to 5
          set {_l} to location of player
          while {_c} > 0:
               if distance between {_l} and location of player is not 0:
                    send "a"
                    stop
               set {_l} to location of player
               if {_l} is {_l}:
                    send "b "
                    remove 1 from {_c}
               wait 1 second
          teleport player to {spawn.location}
          send "c!"

command staffspawn:
    permission: staff.spawn
    trigger:
        teleport player to {spawn.location}
        send "&x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bTeleported to spawn!"
        
command rankspawn:
    permission: rank.spawn
    trigger:
        teleport player to {spawn.location}
        send "&x&1&b&9&d&f&b&l[&x&1&8&8&e&e&4&lW&x&1&6&8&0&c&d&la&x&1&3&7&1&b&5&ls&x&1&1&6&3&9&e&lh&x&0&e&5&4&8&7&le&x&1&1&6&3&9&e&ld&x&1&3&7&1&b&5&lB&x&1&6&8&0&c&d&lo&x&1&8&8&e&e&4&lx&x&1&b&9&d&f&b&l] &bTeleported to spawn!"

command /delspawn:
    permission: server.deletespawn
    trigger:
        delete {spawn.location}
        send "You have deleted &cSpawn"
naive musk
#

how

#

its simple code

#

it works

#

but randomly dosent work

naive musk
#

send /sk info

#

i had skbee, squary

#

but i tought that cuz of that it didnt work

#

i removed them but still dosent work so yeah

naive musk
#

i fixed it, my vault plugin was outdated

#

but i have a error so basically every time i add sk-reflect into my plugin folder then no skripts work

lapis viper
#

Why it doesnt workds?

lapis viper
#

it doesnt works too

naive musk