reis bunu bılıyorum fakat ama ben dagıldıktan sonra silinmesını ıstıyorum bunda silinmiyorDeğerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
SKRIPT BU KONUDA ASLA SAĞLIKLI OLMAZ
BloodyX#4069
merhaba,skriptle tnt patlattıktan sonra bloklar dağılıp silinsin boyle bir kod varmı?
on explode:
loop all blocks in radius 5 around event-location:
if loop-block is not air:
set {_loc} to location of loop-block
set {_randomX} to random integer between -1 and 1
set {_randomY} to random integer between 1 and 3
set {_randomZ} to random integer between -1 and 1
make loop-block fall at {_loc} with speed {_randomX}, {_randomY}, {_randomZ}
wait 20 ticks # 1 saniye bekler
set loop-block to air
reis alanım silindi ve hayır bu değildiJavaScript:on explode: loop all blocks in radius 5 around event-location: if loop-block is not air: set {_loc} to location of loop-block set {_randomX} to random integer between -1 and 1 set {_randomY} to random integer between 1 and 3 set {_randomZ} to random integer between -1 and 1 make loop-block fall at {_loc} with speed {_randomX}, {_randomY}, {_randomZ} wait 20 ticks # 1 saniye bekler set loop-block to air
Böyle bir şey mi ?
BloodyX#4069
tnt patlattıktan sonra bloklar dağılıp silinsin dedin ? tam detay verirsen yardımcı olalımreis alanım silindi ve hayır bu değildi
0mustafa
options:
pushForce: 2 # blokların patlamadan ne kadar çok dağılacağını belirler. (varsayılan: 2)
on explode:
loop exploded blocks:
if loop-block is solid:
le spawn falling block data of loop-block at location of loop-block
set {_fallingBlock} to last spawned falling block
set boolean tag "isExplodedBlock" of compound tag "custom" of nbt of {_fallingBlock} to true
set {_v} to vector between event-entity and {_fallingBlock}
push {_fallingBlock} {_v} with force {@pushForce}
set loop-block to air
cancel event
on falling block land:
if boolean tag "isExplodedBlock" of compound tag "custom" of nbt of event-entity is true:
cancel event
options:
pushForce: 2 # blokların patlamadan ne kadar çok dağılacağını belirler. (varsayılan: 2)
on explode:
loop exploded blocks:
if loop-block is solid:
le spawn falling block data of loop-block at location of loop-block
set {_fallingBlock} to last spawned falling block
set boolean tag "isExplodedBlock" of compound tag "custom" of nbt of {_fallingBlock} to true
set {_v} to vector between {_fallingBlock} and event-entity
push {_fallingBlock} {_v} with force {@pushForce}
set loop-block to air
cancel event
on falling block land:
if boolean tag "isExplodedBlock" of compound tag "custom" of nbt of event-entity is true:
cancel event
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!