Custom Ore

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Aug 8, 2021
37
0
6
21
on any move:
loop all blocks in radius 100 around the player:
if loop-block is redstone ore or coal ore or iron ore:
if loop-block's y coordinate is below 3:
set the loop-block to nether brick
add the loop-block's location to {darkb::*}
on break of nether brick:
if the event-block is in {darkb::*}:
clear the drops
remove the event-block's location from {darkb::*}
set {witherfrag} to glowing nether brick named "Wither Fragment"
drop {witherfrag} at event-block
when I reload the skript it closes the server.
help pls
thanks.
 
Boy, I have two things to say:
  1. Try to avoid the use of 'on any move' at all times.
  2. Looking blocks in a radius of 100 will cause lag to your server, especially when using it with an movement event.
I suggest you to find another way to write this code.
 
Status
Not open for further replies.