Skocz do zawartości
  • 0

Skript stoniarka inna!


Pytanie

Poszukuje skriptu lub aby ktos mial chwile  czasu i moglby napisac. 
w sensie ze na stoniarki jest blok np. noteblock z ktorego robi sie stoniarka, i aby wystepowala w podwojna stoniarka czyli cos tego typu:


S
S
n
 

n- noteblock

s- stone

 

 

z  gory dziekuje

Odnośnik do komentarza
https://skript.pl/temat/25651-skript-stoniarka-inna/
Udostępnij na innych stronach

13 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0


command /getstoniarka:
    trigger:
        give player noteblock named "&cInna Stoniarka"
        send "&aOtrzymales &cInna Stoniarka"
        
on place of noteblock:
    if player's tool is noteblock named "&cInna Stoniarka":
        add event-block to {inneStoniarkiC::*}
        add block above event-block to {inneStoniarkiA::*}
        add block above (block above event-block) to {inneStoniarkiB::*}
        set block at (location of (block above event-block)) to stone
        set block at (location of (above (block above event-block))) to stone
        send "&aPostawiles &cInna Stoniarka"
        
on break:
    if event-block is noteblock:
        if {inneStoniarkiC::*} contains event-block:
            remove event-block from {inneStoniarkiC::*}
            remove block above event-block from {inneStoniarkiA::*}
            remove block above (block above event-block) from {inneStoniarkiB::*}
            clear drops
            drop noteblock named "&cInna Stoniarka" at location of event-block
    if event-block is stone:
        if ({inneStoniarkiA::*} contains event-block) or ({inneStoniarkiB::*} contains event-block):
            wait 1 second
            set block at (location of event-block) to stone

Odnośnik do komentarza
https://skript.pl/temat/25651-skript-stoniarka-inna/#findComment-170146
Udostępnij na innych stronach

  • 0
on script load:
    register new shaped recipe for note block named "&6&lStoniarka" using gold block, gold block, gold block, gold block, diamond block, gold block, gold block, gold block, gold block
on craft:
    if event-item is note block named "&6&lStoniarka":
        message "&6%player% &aotrzymałeś &6&lStoniarke"			
command /stoniarka:
	trigger:
		player has permission "stoniarka.daj":
			give 64 note block named "&6&lStoniarka" to player
on place of note block:
	if name of player's tool is "&6&lStoniarka":
		add location of event-block to {stoniarka::*}
		send "Postawiles stoniarke."
		set block above event-block to stone
		set block 2 above event-block to stone
		stop
on break of stone:
	if "%{stoniarka::*}%" contains "%location of block below event-block%" or "%location of block 2 below event-block%":
		if player has permission "stoniarka.svip":
			set event-block to stone
			stop
		if player has permission "stoniarka.vip":
			wait 10 tick
			set event-block to stone
			stop
		wait 1 second
		set event-block to stone
		stop
on break of note block:
	if "%{stoniarka::*}%" contains "%location of event-block%":
		cancel event
		remove location of event-block from {stoniarka::*}
		set event-block to air
		set block above event-block to air
		set block 2 above event-block to air
		give 1 note block named "&6&lStoniarka" to player
		stop

 

Odnośnik do komentarza
https://skript.pl/temat/25651-skript-stoniarka-inna/#findComment-170175
Udostępnij na innych stronach

  • 0
on script load:
    register new shaped recipe for note block named "&6&lStoniarka" using gold block, gold block, gold block, gold block, diamond block, gold block, gold block, gold block, gold block
on craft:
    if event-item is note block named "&6&lStoniarka":
        message "&6%player% &aotrzymałeś &6&lStoniarke"			
command /stoniarka:
	trigger:
		player has permission "stoniarka.daj":
			give 64 note block named "&6&lStoniarka" to player
on place of note block:
	if name of player's tool is "&6&lStoniarka":
		add location of event-block to {stoniarka::*}
		send "Postawiles stoniarke."
		set block above event-block to stone
		set block 2 above event-block to stone
		stop
on break of stone:
	if "%{stoniarka::*}%" contains "%location of block below event-block%" or "%location of block 2 below event-block%":
		if player has permission "stoniarka.svip":
			set event-block to stone
			stop
		if player has permission "stoniarka.vip":
			wait 2 real seconds
			set event-block to stone
			stop
		wait 2 second
		set event-block to stone
		stop
on break of note block:
	if "%{stoniarka::*}%" contains "%location of event-block%":
		cancel event
		remove location of event-block from {stoniarka::*}
		set event-block to air
		set block above event-block to air
		set block 2 above event-block to air
		give 1 note block named "&6&lStoniarka" to player
		stop

masz tu, poprawiony skrypt stone robi się co 2 sek. 

Jak coś nie jest git to pisz jak jest git to liczę na wielkiego plusss

Odnośnik do komentarza
https://skript.pl/temat/25651-skript-stoniarka-inna/#findComment-171287
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...