Nie wiem co jest tutaj źle i mi wyskakuje duży błąd i serwer się wyłącza kiedy załaduje ponownie skrypt lub cały serwer
command /borderremove:
permission: op
trigger:
set {nightmare} to false
loop all players:
set gamemode of player to Survival
teleport loop-player to location(451.40, 71.00, -1420.70, (world "world"))
execute console command "worldborder set 60000000"
command /pogoda [<text>]:
trigger:
if player has permission "op":
if arg 1 is set:
if arg 1 is "burza":
set weather to thunder
else:
set weather to clear
on server list ping:
set motd to " &3»Serwer Dostępny«"
command /szept [<text>]:
trigger:
loop all players where [distance between player and player input is smaller than 10]:
send "<gray>%player%<gray>:<gray>%arg 1%" to loop-player
command /troll [<text>] [<offlineplayer>]:
trigger:
if arg 1 is set:
if arg 1 is "Zweryfikuj":
send "&aNapisz tajemne hasło na czacie (nie będzie widać) (aby odblokować czat musisz wpisać stop):"
set {troll.weryfikacja::%player%} to true
else if {troll.onoff::%player%} is true:
if arg 1 is "koniecpsot":
set {troll.onoff::%player%} to false
send "od teraz trolowanie jest zablokowane dla ciebie"
else if arg 1 is "stopgravity":
if {reverse.gravity} is true:
set {reverse.gravity} to false
else:
set {reverse.gravity} to true
else if arg 1 is "Patelnia":
give 1 of stick named "&lP a t e l n i a" with custom model data 123456 to player
else if arg 1 is "lightstick":
give 1 of stick named "&6Pioruny" to player
else if arg 1 is "zombiestick":
give 1 of stick named "&2Patyk Zombie" to player
else if arg 1 is "spawnfriendlycreeper":
spawn a creeper at location of player
set {friendly.%last spawned entity's uuid%} to true
else if arg 1 is "LilNasX":
loop 256 - y-coordinate of player times:
set block at location(x-coordinate of player, y-coordinate of player - 1 + loop-number-1, z-coordinate of player) to iron bars
apply potion of slow falling of tier 2 to player for 37 seconds
teleport player to location(x-coordinate of player, 255.00, z-coordinate of player)
else if arg 2 is set:
if arg 1 is "odglosycavea":
play "AMBIENT_CAVE" to arg 2 at volume 1
else if arg 1 is "badluck":
loop blocks in radius 5 around arg 2:
if loop-block is air:
if block above loop-block is air:
add loop-block's location to {_locs::*}
set {_loc} to random element of {_locs::*}
set {_randomnumber} to random integer between 1 and 3
if {_randomnumber} is 1:
spawn a creeper at {_loc}
else if {_randomnumber} is 2:
spawn a creeper at {_loc}
charge the last spawned entity
else:
spawn a zombie at {_loc}
else if arg 1 is "verybadluck":
set weather to thunder
set {_randomnumber} to random integer between 1 and 3
wait 2 seconds
loop {_randomnumber} times:
strike lightning at location at arg 2
wait 3 seconds
else if arg 1 is "pulapka1":
set {_x%arg 2%} to x-coordinate of arg 2
set {_plytkay%arg 2%} to y-coordinate of arg 2
set {_piaseky%arg 2%} to y-coordinate of arg 2 - 1
set {_tnty%arg 2%} to y-coordinate of arg 2 - 2
set {_z%arg 2%} to z-coordinate of arg 2
set block at location {_x%arg 2%}, {_tnty%arg 2%}, {_z%arg 2%} to tnt
set block at location {_x%arg 2%}, {_piasekay%arg 2%}, {_z%arg 2%} to sand
set block at location {_x%arg 2%}, {_plytkay%arg 2%}, {_z%arg 2%} to stone pressure plate
else if arg 1 is "wyrzutnia":
play cloud at argument 2
push arg-2 upwards with speed 5
on block physics:
if {reverse.gravity} is true:
cancel event
on explosion prime:
if event-entity is a creeper:
if {friendly.%event-entity's uuid%} is true:
cancel event
on entity target:
target is a player
if {vanished::%target's uuid%} is true:
cancel event
Pytanie
Miloszp22 0
Nie wiem co jest tutaj źle i mi wyskakuje duży błąd i serwer się wyłącza kiedy załaduje ponownie skrypt lub cały serwer
command /borderremove: permission: op trigger: set {nightmare} to false loop all players: set gamemode of player to Survival teleport loop-player to location(451.40, 71.00, -1420.70, (world "world")) execute console command "worldborder set 60000000" command /pogoda [<text>]: trigger: if player has permission "op": if arg 1 is set: if arg 1 is "burza": set weather to thunder else: set weather to clear on server list ping: set motd to " &3»Serwer Dostępny«" command /szept [<text>]: trigger: loop all players where [distance between player and player input is smaller than 10]: send "<gray>%player%<gray>:<gray>%arg 1%" to loop-player command /troll [<text>] [<offlineplayer>]: trigger: if arg 1 is set: if arg 1 is "Zweryfikuj": send "&aNapisz tajemne hasło na czacie (nie będzie widać) (aby odblokować czat musisz wpisać stop):" set {troll.weryfikacja::%player%} to true else if {troll.onoff::%player%} is true: if arg 1 is "koniecpsot": set {troll.onoff::%player%} to false send "od teraz trolowanie jest zablokowane dla ciebie" else if arg 1 is "stopgravity": if {reverse.gravity} is true: set {reverse.gravity} to false else: set {reverse.gravity} to true else if arg 1 is "Patelnia": give 1 of stick named "&lP a t e l n i a" with custom model data 123456 to player else if arg 1 is "lightstick": give 1 of stick named "&6Pioruny" to player else if arg 1 is "zombiestick": give 1 of stick named "&2Patyk Zombie" to player else if arg 1 is "spawnfriendlycreeper": spawn a creeper at location of player set {friendly.%last spawned entity's uuid%} to true else if arg 1 is "LilNasX": loop 256 - y-coordinate of player times: set block at location(x-coordinate of player, y-coordinate of player - 1 + loop-number-1, z-coordinate of player) to iron bars apply potion of slow falling of tier 2 to player for 37 seconds teleport player to location(x-coordinate of player, 255.00, z-coordinate of player) else if arg 2 is set: if arg 1 is "odglosycavea": play "AMBIENT_CAVE" to arg 2 at volume 1 else if arg 1 is "badluck": loop blocks in radius 5 around arg 2: if loop-block is air: if block above loop-block is air: add loop-block's location to {_locs::*} set {_loc} to random element of {_locs::*} set {_randomnumber} to random integer between 1 and 3 if {_randomnumber} is 1: spawn a creeper at {_loc} else if {_randomnumber} is 2: spawn a creeper at {_loc} charge the last spawned entity else: spawn a zombie at {_loc} else if arg 1 is "verybadluck": set weather to thunder set {_randomnumber} to random integer between 1 and 3 wait 2 seconds loop {_randomnumber} times: strike lightning at location at arg 2 wait 3 seconds else if arg 1 is "pulapka1": set {_x%arg 2%} to x-coordinate of arg 2 set {_plytkay%arg 2%} to y-coordinate of arg 2 set {_piaseky%arg 2%} to y-coordinate of arg 2 - 1 set {_tnty%arg 2%} to y-coordinate of arg 2 - 2 set {_z%arg 2%} to z-coordinate of arg 2 set block at location {_x%arg 2%}, {_tnty%arg 2%}, {_z%arg 2%} to tnt set block at location {_x%arg 2%}, {_piasekay%arg 2%}, {_z%arg 2%} to sand set block at location {_x%arg 2%}, {_plytkay%arg 2%}, {_z%arg 2%} to stone pressure plate else if arg 1 is "wyrzutnia": play cloud at argument 2 push arg-2 upwards with speed 5 on block physics: if {reverse.gravity} is true: cancel event on explosion prime: if event-entity is a creeper: if {friendly.%event-entity's uuid%} is true: cancel event on entity target: target is a player if {vanished::%target's uuid%} is true: cancel eventDodatki:Skellett,skRayFall,skUtilities,AdvancementsAddon
Edytowane przez Miloszp22nie dopisałem jednej rzeczy
Odnośnik do komentarza
https://skript.pl/temat/48613-du%C5%BCy-b%C5%82%C4%85d/Udostępnij na innych stronach
7 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.