on respawn:
if player is in world "knock":
if player has permission "vip.knock":
set player's fly mode to false
teleport player to {knock}
send ""
send "&c&lZostales zabity!"
send "&c&lAby, zmienic tryb wpisz &e/spawn."
send ""
execute console command "/warp knock %player%"
execute console command "/clear %player%"
remove resistance from player
remove speed from player
remove strength from player
remove absorption from player
remove fire resistance from player
remove regeneration from player
clear player's inventory
add diamond helmet of protection 4 to the player's helmet
add diamond chestplate of protection 4 to the player's chestplate
add diamond leggings of protection 4 to the player's leggings
add diamond boots of protection 4 and Feather falling 4 named "&a&lButy Vip" to the player's boots
add diamond sword of sharpness 5 named "&a&lOstrosc 5" to player
add diamond sword of knockback 2 named "&a&lKnockback 2" to player
add 3 golden apple:1 to player
add 8 golden apple to player
add 64 320 to player
add 1 326 to player
add 64 cobblestone to player
add 1 165 to player
add 3 368 to player
add 64 cobblestone to player
add 64 cobblestone to player
add 64 cobblestone to player
else:
teleport player to {knock}
execute console command "/warp knock %player%"
execute console command "/clear %player%"
remove resistance from player
remove speed from player
remove strength from player
remove absorption from player
remove fire resistance from player
remove regeneration from player
clear player's inventory
add diamond helmet of protection 4 to the player's helmet
add diamond chestplate of protection 4 to the player's chestplate
add diamond leggings of protection 4 to the player's leggings
add diamond boots of protection 4 to the player's boots
add diamond sword of sharpness 5 named "&a&lOstrosc 5" to player
add diamond sword of knockback 2 named "&a&lKnockback 2" to player
add 2 golden apple:1 to player
add 5 golden apple to player
add 64 320 to player
add 1 326 to player
add 64 48 to player
add 1 165 to player
add 1 368 to player
add 64 48 to player
add 64 48 to player
add 64 48 to player
Mam taki skrypt i chcialbym zeby teleportowalo spowrotem na swiat knock gdy sie zginie a tak sie nie dzieje
Pytanie
Lavor11 0
on respawn: if player is in world "knock": if player has permission "vip.knock": set player's fly mode to false teleport player to {knock} send "" send "&c&lZostales zabity!" send "&c&lAby, zmienic tryb wpisz &e/spawn." send "" execute console command "/warp knock %player%" execute console command "/clear %player%" remove resistance from player remove speed from player remove strength from player remove absorption from player remove fire resistance from player remove regeneration from player clear player's inventory add diamond helmet of protection 4 to the player's helmet add diamond chestplate of protection 4 to the player's chestplate add diamond leggings of protection 4 to the player's leggings add diamond boots of protection 4 and Feather falling 4 named "&a&lButy Vip" to the player's boots add diamond sword of sharpness 5 named "&a&lOstrosc 5" to player add diamond sword of knockback 2 named "&a&lKnockback 2" to player add 3 golden apple:1 to player add 8 golden apple to player add 64 320 to player add 1 326 to player add 64 cobblestone to player add 1 165 to player add 3 368 to player add 64 cobblestone to player add 64 cobblestone to player add 64 cobblestone to player else: teleport player to {knock} execute console command "/warp knock %player%" execute console command "/clear %player%" remove resistance from player remove speed from player remove strength from player remove absorption from player remove fire resistance from player remove regeneration from player clear player's inventory add diamond helmet of protection 4 to the player's helmet add diamond chestplate of protection 4 to the player's chestplate add diamond leggings of protection 4 to the player's leggings add diamond boots of protection 4 to the player's boots add diamond sword of sharpness 5 named "&a&lOstrosc 5" to player add diamond sword of knockback 2 named "&a&lKnockback 2" to player add 2 golden apple:1 to player add 5 golden apple to player add 64 320 to player add 1 326 to player add 64 48 to player add 1 165 to player add 1 368 to player add 64 48 to player add 64 48 to player add 64 48 to playerMam taki skrypt i chcialbym zeby teleportowalo spowrotem na swiat knock gdy sie zginie a tak sie nie dzieje
Odnośnik do komentarza
https://skript.pl/temat/29182-teleportacja-blad/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi