A7oD8fJd
Język: Skript
|
Autor: Anonimowy
command /tc [<text>] [<number>]: permission: turbo.coins permission message: &8» &7Nie posiadasz permissji! trigger: if arg-1 is set: if arg-1 is "all": loop all players: set {turbo::%loop-player%} to number-arg send loop-players title "&6&lTurboCoins" with subtitle "&7Caly serwer dostal &6&lTurboCoins &7na &6%{turbo::%loop-player%}% sek" for 1.5 seconds stop if arg-1 is player: set {turbo::%player%} to number-arg send player title "&6&lTurboCoins" with subtitle "&6&l%player% &7dostales &6&lTurboCoins &7na &6%{turbo::%player%}% sek" for 1.5 seconds stop else: send "&4&lUWAGA! &7Nie ma takiego gracza jak &6%arg-1%!" to player stop else: send "" to player send "&4&lUWAGA! &7Poprawne uzycie &6/tc [all|nick] [czas]" to player on every seconds: loop all players: if {turbo::%loop-player%} > 0: set action bar of loop-player to "&6&lTurboCoins &7trwa jeszcze: &6%{turbo::%loop-player%}% sek" remove 1 from {turbo::%loop-player%} wait 1 seconds if {turbo::%loop-player%} = 0: send players title "&6&lTurboCoins " with subtitle "zakonczyl sie " for 1.5 seconds stop