SHOW:
|
|
- or go back to the newest paste.
| 1 | options: | |
| 2 | - | #Nazwa skryptu. |
| 2 | + | #Tag skryptu. |
| 3 | - | skname: ranking.sk |
| 3 | + | tag: GuildCraft |
| 4 | - | |
| 4 | + | on first join: |
| 5 | - | variables: |
| 5 | + | wait 1 tick |
| 6 | - | {punkty.%player%} = 1000
|
| 6 | + | teleport player to {spawn}
|
| 7 | - | |
| 7 | + | on respawn: |
| 8 | wait 1 tick | |
| 9 | - | if attacker is player: |
| 9 | + | teleport player to {spawn}
|
| 10 | - | add {punkty.%victim%}*0.30 to {punkty.%attacker%}
|
| 10 | + | on death: |
| 11 | - | remove {punkty.%victim%}*0.30 from {punkty.%victim%}
|
| 11 | + | teleport player to {spawn}
|
| 12 | - | set {punkty.%victim%}*0.30 to {ostatnie}
|
| 12 | + | on first login: |
| 13 | - | broadcast "&7Gracz &6%victim% &7zostal zabity przez gracza &6%attacker% &7(+%{ostatnie}%)"
|
| 13 | + | wait 1 tick |
| 14 | - | add 1 to {smierci.%victim%}
|
| 14 | + | teleport player to {spawn}
|
| 15 | - | add 1 to {zabojstwa.%attacker%}
|
| 15 | + | on respawn: |
| 16 | - | wait 1 tick |
| 16 | + | wait 1 tick |
| 17 | - | set {ostatnie} to 0
|
| 17 | + | teleport player to {spawn}
|
| 18 | - | else: |
| 18 | + | on first login: |
| 19 | - | remove 50 from {punkty.%victim%}
|
| 19 | + | wait 1 tick |
| 20 | - | broadcast "&7Gracz &6%victim% &7umarl w niewyjasnionych okolicznosciach! &c(-50)" |
| 20 | + | teleport player to {spawn}
|
| 21 | - | add 1 to {smierci.%victim%}
|
| 21 | + | |
| 22 | - | |
| 22 | + | wait 1 tick |
| 23 | - | command /statystyki [<text>]: |
| 23 | + | teleport player to {spawn}
|
| 24 | - | trigger: |
| 24 | + | command /setspawn: |
| 25 | - | if argument 1 is set: |
| 25 | + | description: Ustawia setspawn! |
| 26 | - | send "&4&l[&6================== &9&l> &7STATYSTYKI &9&l< &6==================&4&l]" |
| 26 | + | permission: skript.setspawn |
| 27 | - | send "&a● &7Gracz: &c%arg%" |
| 27 | + | executable by: player |
| 28 | - | send "&a● &7Punkty: &c%{punkty.%arg%}%"
|
| 28 | + | |
| 29 | - | send "&a● &7Zabojstwa: &c%{zabojstwa.%arg%}%"
|
| 29 | + | set {spawn} to location of player
|
| 30 | - | send "&a● &7Smierci: &c%{smierci.%arg%}%"
|
| 30 | + | send "&9Ustawiles setspawn!" |
| 31 | - | send "&6====================================================" |
| 31 | + | stop |
| 32 | - | else: |
| 32 | + | command /spawn: |
| 33 | - | send "&4&l[&6================== &9&l> &7STATYSTYKI &9&l< &6==================&4&l]" |
| 33 | + | description: Teleportuje na spawn! |
| 34 | - | send "&a● &7Gracz: &c%player%" |
| 34 | + | executable by: player |
| 35 | - | send "&a● &7Punkty: &c%{punkty.%player%}%"
|
| 35 | + | |
| 36 | - | send "&a● &7Zabojstwa: &c%{zabojstwa.%player%}%"
|
| 36 | + | apply slowness 10 to the player for 5 seconds |
| 37 | - | send "&a● &7Smierci: &c%{smierci.%player%}%"
|
| 37 | + | apply blindness 1 to the player for 5 seconds |
| 38 | - | send "&6====================================================" |
| 38 | + | apply nausea 1 to the player for 5 seconds |
| 39 | - | |
| 39 | + | send "&7|&a&l+&7| &9&k:&3{@tag}&9&k: &7|&a&l+&7| &9Teleportacja nastapi za: &a5"
|
| 40 | - | command /staty-reload: |
| 40 | + | wait 1 second |
| 41 | - | permission: staty.reload |
| 41 | + | send "&7|&a&l+&7| &9&k:&3{@tag}&9&k: &7|&a&l+&7| &9Teleportacja nastapi za: &a4"
|
| 42 | wait 1 second | |
| 43 | - | execute console command "sk reload {@skname}"
|
| 43 | + | send "&7|&a&l+&7| &9&k:&3{@tag}&9&k: &7|&a&l+&7| &9Teleportacja nastapi za: &a3"
|
| 44 | - | |
| 44 | + | wait 1 second |
| 45 | - | on rightclick with a sword on a player: |
| 45 | + | send "&7|&a&l+&7| &9&k:&3{@tag}&9&k: &7|&a&l+&7| &9Teleportacja nastapi za: &a2"
|
| 46 | - | send "&7Gracz &6%clicked player% &7posiada %{punkty.%arg%}% &7punktow." |
| 46 | + | wait 1 second |
| 47 | send "&7|&a&l+&7| &9&k:&3{@tag}&9&k: &7|&a&l+&7| &9Teleportacja nastapi za: &a1"
| |
| 48 | wait 1 second | |
| 49 | send "" | |
| 50 | send " " | |
| 51 | send " " | |
| 52 | send " " | |
| 53 | send " " | |
| 54 | send " " | |
| 55 | send " " | |
| 56 | send " " | |
| 57 | send " " | |
| 58 | send " " | |
| 59 | send " " | |
| 60 | send " " | |
| 61 | send " " | |
| 62 | send " " | |
| 63 | send " " | |
| 64 | send " " | |
| 65 | send " " | |
| 66 | send " " | |
| 67 | send " " | |
| 68 | send " " | |
| 69 | send " " | |
| 70 | send " " | |
| 71 | send " " | |
| 72 | send " " | |
| 73 | send " " | |
| 74 | send " " | |
| 75 | send " " | |
| 76 | send " " | |
| 77 | send " " | |
| 78 | send " " | |
| 79 | send " " | |
| 80 | send " " | |
| 81 | send " " | |
| 82 | send " " | |
| 83 | send " " | |
| 84 | send " " | |
| 85 | send " " | |
| 86 | send " " | |
| 87 | send " " | |
| 88 | send " " | |
| 89 | send " " | |
| 90 | send " " | |
| 91 | send " " | |
| 92 | send " " | |
| 93 | send " " | |
| 94 | send " " | |
| 95 | send " " | |
| 96 | send " " | |
| 97 | send " " | |
| 98 | send " " | |
| 99 | send " " | |
| 100 | send " " | |
| 101 | send " " | |
| 102 | send " " | |
| 103 | send " " | |
| 104 | send " " | |
| 105 | send " " | |
| 106 | send " " | |
| 107 | send " " | |
| 108 | send " " | |
| 109 | send " " | |
| 110 | send " " | |
| 111 | send " " | |
| 112 | send " " | |
| 113 | send " " | |
| 114 | send " " | |
| 115 | send " " | |
| 116 | send " " | |
| 117 | send " " | |
| 118 | send " " | |
| 119 | send " " | |
| 120 | send "" | |
| 121 | send " " | |
| 122 | send " " | |
| 123 | send " " | |
| 124 | send " " | |
| 125 | send " " | |
| 126 | send " " | |
| 127 | send " " | |
| 128 | send " " | |
| 129 | send " " | |
| 130 | send " " | |
| 131 | send " " | |
| 132 | send " " | |
| 133 | send " " | |
| 134 | send " " | |
| 135 | send " " | |
| 136 | send " " | |
| 137 | send " " | |
| 138 | send " " | |
| 139 | send " " | |
| 140 | send " " | |
| 141 | send " " | |
| 142 | send " " | |
| 143 | send " " | |
| 144 | send " " | |
| 145 | send " " | |
| 146 | send " " | |
| 147 | send " " | |
| 148 | send " " | |
| 149 | send " " | |
| 150 | send " " | |
| 151 | send " " | |
| 152 | send " " | |
| 153 | send " " | |
| 154 | send " " | |
| 155 | send " " | |
| 156 | send " " | |
| 157 | send " " | |
| 158 | send " " | |
| 159 | send " " | |
| 160 | send " " | |
| 161 | send " " | |
| 162 | send " " | |
| 163 | send " " | |
| 164 | send " " | |
| 165 | send " " | |
| 166 | send " " | |
| 167 | send " " | |
| 168 | send " " | |
| 169 | send " " | |
| 170 | send " " | |
| 171 | send " " | |
| 172 | send " " | |
| 173 | send " " | |
| 174 | send " " | |
| 175 | send " " | |
| 176 | send " " | |
| 177 | send " " | |
| 178 | send " " | |
| 179 | send " " | |
| 180 | send " " | |
| 181 | send " " | |
| 182 | send " " | |
| 183 | send " " | |
| 184 | send " " | |
| 185 | send " " | |
| 186 | send " " | |
| 187 | send " " | |
| 188 | send " " | |
| 189 | send " " | |
| 190 | send " " | |
| 191 | send "&7|&a&l+&7| &9&k:&3{@tag}&9&k: &7|&a&l+&7| &9Przeteleportowano na spawn!"
| |
| 192 | teleport player to {spawn}
| |
| 193 | stop |