on place:
if player's tool is emerald ore named "Kamien":
set event-block to emerald ore
wait 3 second
if event-block is emerald ore:
if {hp::%location of event-block%} is not set:
set {hp::%location of event-block%} to 100
on mine:
if event-block is emerald ore named "Kamien":
remove 1 from {hp::%location of event-block%}
set {blok.%player%} to 1
send "&bKamien &f- &2Zycie ( %{hp::%location of event-block%}% )"
if {hp::%location of event-block%} = 99:
set event-block to event-block
if {hp::%location of event-block%} = 98:
set event-block to event-block
if {hp::%location of event-block%} = 97:
set event-block to event-block
if {hp::%location of event-block%} = 96:
set event-block to event-block
if {hp::%location of event-block%} = 95:
set event-block to event-block
if {hp::%location of event-block%} = 94:
set event-block to event-block
if {hp::%location of event-block%} = 93:
set event-block to event-block
if {hp::%location of event-block%} = 92:
set event-block to event-block
if {hp::%location of event-block%} = 91:
set event-block to event-block
if {hp::%location of event-block%} = 90:
set event-block to event-block
if {hp::%location of event-block%} = 89:
set event-block to event-block
if {hp::%location of event-block%} = 88:
set event-block to event-block
if {hp::%location of event-block%} = 87:
set event-block to event-block
if {hp::%location of event-block%} = 86:
set event-block to event-block
if {hp::%location of event-block%} = 85:
set event-block to event-block
if {hp::%location of event-block%} = 84:
set event-block to event-block
if {hp::%location of event-block%} = 83:
set event-block to event-block
if {hp::%location of event-block%} = 82:
set event-block to event-block
if {hp::%location of event-block%} = 81:
set event-block to event-block
if {hp::%location of event-block%} = 80:
set event-block to event-block
if {hp::%location of event-block%} = 79:
set event-block to event-block
if {hp::%location of event-block%} = 78:
set event-block to event-block
if {hp::%location of event-block%} = 77:
set event-block to event-block
if {hp::%location of event-block%} = 76:
set event-block to event-block
if {hp::%location of event-block%} = 75:
set event-block to event-block
if {hp::%location of event-block%} = 74:
set event-block to event-block
if {hp::%location of event-block%} = 73:
set event-block to event-block
if {hp::%location of event-block%} = 72:
set event-block to event-block
if {hp::%location of event-block%} = 71:
set event-block to event-block
if {hp::%location of event-block%} = 70:
set event-block to event-block
if {hp::%location of event-block%} = 69:
set event-block to event-block
if {hp::%location of event-block%} = 68:
set event-block to event-block
if {hp::%location of event-block%} = 67:
set event-block to event-block
if {hp::%location of event-block%} = 66:
set event-block to event-block
if {hp::%location of event-block%} = 65:
set event-block to event-block
if {hp::%location of event-block%} = 64:
set event-block to event-block
if {hp::%location of event-block%} = 63:
set event-block to event-block
if {hp::%location of event-block%} = 62:
set event-block to event-block
if {hp::%location of event-block%} = 61:
set event-block to event-block
if {hp::%location of event-block%} = 60:
set event-block to event-block
if {hp::%location of event-block%} = 59:
set event-block to event-block
if {hp::%location of event-block%} = 58:
set event-block to event-block
if {hp::%location of event-block%} = 57:
set event-block to event-block
if {hp::%location of event-block%} = 56:
set event-block to event-block
if {hp::%location of event-block%} = 55:
set event-block to event-block
if {hp::%location of event-block%} = 54:
set event-block to event-block
if {hp::%location of event-block%} = 53:
set event-block to event-block
if {hp::%location of event-block%} = 52:
set event-block to event-block
if {hp::%location of event-block%} = 51:
set event-block to event-block
if {hp::%location of event-block%} = 50:
set event-block to event-block
if {hp::%location of event-block%} = 49:
set event-block to event-block
if {hp::%location of event-block%} = 48:
set event-block to event-block
if {hp::%location of event-block%} = 47:
set event-block to event-block
if {hp::%location of event-block%} = 46:
set event-block to event-block
if {hp::%location of event-block%} = 45:
set event-block to event-block
if {hp::%location of event-block%} = 44:
set event-block to event-block
if {hp::%location of event-block%} = 43:
set event-block to event-block
if {hp::%location of event-block%} = 42:
set event-block to event-block
if {hp::%location of event-block%} = 41:
set event-block to event-block
if {hp::%location of event-block%} = 40:
set event-block to event-block
if {hp::%location of event-block%} = 39:
set event-block to event-block
if {hp::%location of event-block%} = 38:
set event-block to event-block
if {hp::%location of event-block%} = 37:
set event-block to event-block
if {hp::%location of event-block%} = 36:
set event-block to event-block
if {hp::%location of event-block%} = 35:
set event-block to event-block
if {hp::%location of event-block%} = 34:
set event-block to event-block
if {hp::%location of event-block%} = 33:
set event-block to event-block
if {hp::%location of event-block%} = 32:
set event-block to event-block
if {hp::%location of event-block%} = 31:
set event-block to event-block
if {hp::%location of event-block%} = 30:
set event-block to event-block
if {hp::%location of event-block%} = 29:
set event-block to event-block
if {hp::%location of event-block%} = 28:
set event-block to event-block
if {hp::%location of event-block%} = 27:
set event-block to event-block
if {hp::%location of event-block%} = 26:
set event-block to event-block
if {hp::%location of event-block%} = 25:
set event-block to event-block
if {hp::%location of event-block%} = 24:
set event-block to event-block
if {hp::%location of event-block%} = 23:
set event-block to event-block
if {hp::%location of event-block%} = 22:
set event-block to event-block
if {hp::%location of event-block%} = 21:
set event-block to event-block
if {hp::%location of event-block%} = 20:
set event-block to event-block
if {hp::%location of event-block%} = 19:
set event-block to event-block
if {hp::%location of event-block%} = 18:
set event-block to event-block
if {hp::%location of event-block%} = 17:
set event-block to event-block
if {hp::%location of event-block%} = 16:
set event-block to event-block
if {hp::%location of event-block%} = 15:
set event-block to event-block
if {hp::%location of event-block%} = 14:
set event-block to event-block
if {hp::%location of event-block%} = 13:
set event-block to event-block
if {hp::%location of event-block%} = 12:
set event-block to event-block
if {hp::%location of event-block%} = 11:
set event-block to event-block
if {hp::%location of event-block%} = 10:
set event-block to event-block
if {hp::%location of event-block%} = 9:
set event-block to event-block
if {hp::%location of event-block%} = 8:
set event-block to event-block
if {hp::%location of event-block%} = 7:
set event-block to event-block
if {hp::%location of event-block%} = 6:
set event-block to event-block
if {hp::%location of event-block%} = 5:
set event-block to event-block
if {hp::%location of event-block%} = 4:
set event-block to event-block
if {hp::%location of event-block%} = 3:
set event-block to event-block
if {hp::%location of event-block%} = 2:
set event-block to event-block
if {hp::%location of event-block%} = 1:
set event-block to event-block
if {hp::%location of event-block%} = 0:
send "Rozwaliles magiczny kamien"
drop 1 diamond at event-block
drop 1 emerald at event-block
drop 1 coal at event-block
set {hp::%location of event-block%} to 100
Skrypt ten polega na tym, że w tym przypadku emerald ore ma 100 hp gdy rozwalimy ten blok 100 razy wtedy zniknie i wypadnie diament , emerald i wegiel.
Tak wiem , może dało się kod skrócić ale ja inaczej nie umiem tego zrobić
1.Skrypt sie buguje i wykrywa i emerald z nazwa i bez nazwwy. Tylko że emerald z nazwą ma 100 hp czyli tyle ile ma być a zwykły bez nazwy 2hp. Umie ktoś zrobić żeby to działało tylko na ten nazwany blok?
2.Po zniszczeniu bloku hp powinno wracać do 100 , w tym przypadku po postawieniu ma 100 hp , rozwalam go ,wszystko śmiga.Postawiam drugi i hp spada do 2. Dopiero po resecie skryptu komendą hp emeraldu wraca do 100.
Pytanie
xXx_Skrypter_xXx 17
on place: if player's tool is emerald ore named "Kamien": set event-block to emerald ore wait 3 second if event-block is emerald ore: if {hp::%location of event-block%} is not set: set {hp::%location of event-block%} to 100 on mine: if event-block is emerald ore named "Kamien": remove 1 from {hp::%location of event-block%} set {blok.%player%} to 1 send "&bKamien &f- &2Zycie ( %{hp::%location of event-block%}% )" if {hp::%location of event-block%} = 99: set event-block to event-block if {hp::%location of event-block%} = 98: set event-block to event-block if {hp::%location of event-block%} = 97: set event-block to event-block if {hp::%location of event-block%} = 96: set event-block to event-block if {hp::%location of event-block%} = 95: set event-block to event-block if {hp::%location of event-block%} = 94: set event-block to event-block if {hp::%location of event-block%} = 93: set event-block to event-block if {hp::%location of event-block%} = 92: set event-block to event-block if {hp::%location of event-block%} = 91: set event-block to event-block if {hp::%location of event-block%} = 90: set event-block to event-block if {hp::%location of event-block%} = 89: set event-block to event-block if {hp::%location of event-block%} = 88: set event-block to event-block if {hp::%location of event-block%} = 87: set event-block to event-block if {hp::%location of event-block%} = 86: set event-block to event-block if {hp::%location of event-block%} = 85: set event-block to event-block if {hp::%location of event-block%} = 84: set event-block to event-block if {hp::%location of event-block%} = 83: set event-block to event-block if {hp::%location of event-block%} = 82: set event-block to event-block if {hp::%location of event-block%} = 81: set event-block to event-block if {hp::%location of event-block%} = 80: set event-block to event-block if {hp::%location of event-block%} = 79: set event-block to event-block if {hp::%location of event-block%} = 78: set event-block to event-block if {hp::%location of event-block%} = 77: set event-block to event-block if {hp::%location of event-block%} = 76: set event-block to event-block if {hp::%location of event-block%} = 75: set event-block to event-block if {hp::%location of event-block%} = 74: set event-block to event-block if {hp::%location of event-block%} = 73: set event-block to event-block if {hp::%location of event-block%} = 72: set event-block to event-block if {hp::%location of event-block%} = 71: set event-block to event-block if {hp::%location of event-block%} = 70: set event-block to event-block if {hp::%location of event-block%} = 69: set event-block to event-block if {hp::%location of event-block%} = 68: set event-block to event-block if {hp::%location of event-block%} = 67: set event-block to event-block if {hp::%location of event-block%} = 66: set event-block to event-block if {hp::%location of event-block%} = 65: set event-block to event-block if {hp::%location of event-block%} = 64: set event-block to event-block if {hp::%location of event-block%} = 63: set event-block to event-block if {hp::%location of event-block%} = 62: set event-block to event-block if {hp::%location of event-block%} = 61: set event-block to event-block if {hp::%location of event-block%} = 60: set event-block to event-block if {hp::%location of event-block%} = 59: set event-block to event-block if {hp::%location of event-block%} = 58: set event-block to event-block if {hp::%location of event-block%} = 57: set event-block to event-block if {hp::%location of event-block%} = 56: set event-block to event-block if {hp::%location of event-block%} = 55: set event-block to event-block if {hp::%location of event-block%} = 54: set event-block to event-block if {hp::%location of event-block%} = 53: set event-block to event-block if {hp::%location of event-block%} = 52: set event-block to event-block if {hp::%location of event-block%} = 51: set event-block to event-block if {hp::%location of event-block%} = 50: set event-block to event-block if {hp::%location of event-block%} = 49: set event-block to event-block if {hp::%location of event-block%} = 48: set event-block to event-block if {hp::%location of event-block%} = 47: set event-block to event-block if {hp::%location of event-block%} = 46: set event-block to event-block if {hp::%location of event-block%} = 45: set event-block to event-block if {hp::%location of event-block%} = 44: set event-block to event-block if {hp::%location of event-block%} = 43: set event-block to event-block if {hp::%location of event-block%} = 42: set event-block to event-block if {hp::%location of event-block%} = 41: set event-block to event-block if {hp::%location of event-block%} = 40: set event-block to event-block if {hp::%location of event-block%} = 39: set event-block to event-block if {hp::%location of event-block%} = 38: set event-block to event-block if {hp::%location of event-block%} = 37: set event-block to event-block if {hp::%location of event-block%} = 36: set event-block to event-block if {hp::%location of event-block%} = 35: set event-block to event-block if {hp::%location of event-block%} = 34: set event-block to event-block if {hp::%location of event-block%} = 33: set event-block to event-block if {hp::%location of event-block%} = 32: set event-block to event-block if {hp::%location of event-block%} = 31: set event-block to event-block if {hp::%location of event-block%} = 30: set event-block to event-block if {hp::%location of event-block%} = 29: set event-block to event-block if {hp::%location of event-block%} = 28: set event-block to event-block if {hp::%location of event-block%} = 27: set event-block to event-block if {hp::%location of event-block%} = 26: set event-block to event-block if {hp::%location of event-block%} = 25: set event-block to event-block if {hp::%location of event-block%} = 24: set event-block to event-block if {hp::%location of event-block%} = 23: set event-block to event-block if {hp::%location of event-block%} = 22: set event-block to event-block if {hp::%location of event-block%} = 21: set event-block to event-block if {hp::%location of event-block%} = 20: set event-block to event-block if {hp::%location of event-block%} = 19: set event-block to event-block if {hp::%location of event-block%} = 18: set event-block to event-block if {hp::%location of event-block%} = 17: set event-block to event-block if {hp::%location of event-block%} = 16: set event-block to event-block if {hp::%location of event-block%} = 15: set event-block to event-block if {hp::%location of event-block%} = 14: set event-block to event-block if {hp::%location of event-block%} = 13: set event-block to event-block if {hp::%location of event-block%} = 12: set event-block to event-block if {hp::%location of event-block%} = 11: set event-block to event-block if {hp::%location of event-block%} = 10: set event-block to event-block if {hp::%location of event-block%} = 9: set event-block to event-block if {hp::%location of event-block%} = 8: set event-block to event-block if {hp::%location of event-block%} = 7: set event-block to event-block if {hp::%location of event-block%} = 6: set event-block to event-block if {hp::%location of event-block%} = 5: set event-block to event-block if {hp::%location of event-block%} = 4: set event-block to event-block if {hp::%location of event-block%} = 3: set event-block to event-block if {hp::%location of event-block%} = 2: set event-block to event-block if {hp::%location of event-block%} = 1: set event-block to event-block if {hp::%location of event-block%} = 0: send "Rozwaliles magiczny kamien" drop 1 diamond at event-block drop 1 emerald at event-block drop 1 coal at event-block set {hp::%location of event-block%} to 100Skrypt ten polega na tym, że w tym przypadku emerald ore ma 100 hp gdy rozwalimy ten blok 100 razy wtedy zniknie i wypadnie diament , emerald i wegiel.
Tak wiem , może dało się kod skrócić ale ja inaczej nie umiem tego zrobić
1.Skrypt sie buguje i wykrywa i emerald z nazwa i bez nazwwy. Tylko że emerald z nazwą ma 100 hp czyli tyle ile ma być a zwykły bez nazwy 2hp. Umie ktoś zrobić żeby to działało tylko na ten nazwany blok?
2.Po zniszczeniu bloku hp powinno wracać do 100 , w tym przypadku po postawieniu ma 100 hp , rozwalam go ,wszystko śmiga.Postawiam drugi i hp spada do 2. Dopiero po resecie skryptu komendą hp emeraldu wraca do 100.
Może ktoś pomoże :)?
Edytowane przez xXx_Skrypter_xXxOdnośnik do komentarza
https://skript.pl/temat/31851-pomoze-ktos/Udostępnij na innych stronach
10 odpowiedzi na to pytanie
Rekomendowane odpowiedzi