Code:
on projectile hit:
event-projectile is egg
wait 150 tick
create an explosion of force 1
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
on projectile hit:
event-projectile is egg
wait 150 tick
create an explosion of force 1
loop blocks in radius 2 around event-location:
add 1 to {explosiondurability::%loop-block%}
if loop-block is glass:
if {explosiondurability::%loop-block%} is more than or equal to 1:
break loop-block naturally
if loop-block is cobblestone:
if {explosiondurability::%loop-block%} is more than or equal to 46:
break loop-block naturally
[WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (beancan.sk, line 8: if {explosiondurability::%loop-block%} is more than or equal to 46:')
[WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (beancan.sk, line 11: if {explosiondurability::%loop-block%} is more than or equal to 13:')
on projectile hit:
event-projectile is egg
wait 150 tick
create an explosion of force 1
loop blocks in radius 2 around event-location:
add 1 to {explosiondurability::%loop-block%}
if loop-block is oak wooden plank:
if {explosiondurability::%loop-block%} is more than or equal to 3:
break loop-block naturally
if loop-block is cobblestone:
if {explosiondurability::%loop-block%} is more than or equal to 46:
break loop-block naturally
on projectile hit:
event-projectile is egg
wait 150 tick
create an explosion of force 1
loop blocks in radius 2 around event-location:
add 1 to {explosiondurability::%loop-block%}
if loop-block is oak wooden plank:
if {explosiondurability::%loop-block%} is more than or equal to 3:
break loop-block naturally
if loop-block is cobblestone:
if {explosiondurability::%loop-block%} is more than or equal to 46:
break loop-block naturally
Code:on projectile hit: event-projectile is egg wait 150 tick create an explosion of force 1 loop blocks in radius 2 around event-location: add 1 to {explosiondurability::%loop-block%} if loop-block is oak wooden plank: if {explosiondurability::%loop-block%} is more than or equal to 3: break loop-block naturally if loop-block is cobblestone: if {explosiondurability::%loop-block%} is more than or equal to 46: break loop-block naturally
[WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (beancan.sk, line 11: if {explosiondurability::%loop-block%} is more than or equal to 46:')
No. I built like 4 platforms, also not connected and tested beancan on oak wooden plank / cobblestonethen you already threw some at them
on place of oak wood button:
play sound "expl.satchel" with volume 1 and pitch 1 to player
wait 150 tick
create an explosion of force 1
play sound "expl.boom" with volume 1 and pitch 1 to player
loop blocks in radius 2 around event-location:
add 1 to {explosiondurability::%loop-block%}
if loop-block is oak wooden plank:
if {explosiondurability::%loop-block%} is more than or equal to 3:
break loop-block naturally
if loop-block is cobblestone:
if {explosiondurability::%loop-block%} is more than or equal to 10:
break loop-block naturally