variables: {spawn.%player%} = false command /spawn []: trigger: set {spawn.%player%} to true if {spawn.%player%} is true: send player title " &7Trwa teleport na &e&lSPAWN " with subtitle "&8&l[&4&l●●●●●&8&l]" wait 1 second if {spawn.%player%} is false: send player title " &7Teleport zostal przerwany! " with subtitle "&7Powod&8: &aRuszyles sie!" if {spawn.%player%} is true: send player title " &7Trwa teleport na &e&lSPAWN " with subtitle "&8&l[&2&l●&4&l●●●●&8&l]" wait 1 second if {spawn.%player%} is false: send player title " &7Teleport zostal przerwany! " with subtitle "&7Powod&8: &aRuszyles sie!" if {spawn.%player%} is true: send player title " &7Trwa teleport na &e&lSPAWN " with subtitle "&8&l[&2&l●●&4&l●●●&8&l]" wait 1 second if {spawn.%player%} is false: send player title " &7Teleport zostal przerwany! " with subtitle "&7Powod&8: &aRuszyles sie!" if {spawn.%player%} is true: send player title " &7Trwa teleport na &e&lSPAWN " with subtitle "&8&l[&2&l●●●&4&l●●&8&l]" wait 1 second if {spawn.%player%} is false: send player title " &7Teleport zostal przerwany! " with subtitle "&7Powod&8: &aRuszyles sie!" if {spawn.%player%} is true: send player title " &7Trwa teleport na &e&lSPAWN " with subtitle "&8&l[&2&l●●●●&4&l●&8&l]" wait 1 second if {spawn.%player%} is false: send player title " &7Teleport zostal przerwany! " with subtitle "&7Powod&8: &aRuszyles sie!" if {spawn.%player%} is true: send player title " &7Trwa teleport na &e&lSPAWN " with subtitle "&8&l[&2&l●●●●●&8&l]" wait 1 second if {spawn.%player%} is false: send player title " &7Teleport zostal przerwany! " with subtitle "&7Powod&8: &aRuszyles sie!" if {spawn.%player%} is true: send player title "&7Zostales przeteleportowany" with subtitle "&7na: &e&lSPAWN" teleport player to {spawn::loc} command /setspawn []: trigger: if player has permissions "command.use.setspawn": set {spawn::loc} to location of the player send player title "&aPomyslnie &7ustawiono " with subtitle "&7lokalizacje: &e&lSPAWN&7." stop else: send player title "" with subtitle "&4Blad: &cNie masz uprawnien do tej komendy!" on any move: loop all players: if {spawn.%loop-player%} is true: set {spawn.%loop-player%} to false