chunk miner

  • 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 community!

    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.

skanto123

Active Member
Jan 8, 2018
70
0
0
how do I make it so when a player places a stone named "&ctest" it gets the chunk that the player is it and sets all of it to air except bedrock
 
code_language.skript:
on place of stone:
    if name of player's tool is "&ctest":
        set blocks within chunk at event-block where [block input is not bedrock] to air
 
code_language.skript:
on place of stone:
    if name of player's tool is "&ctest":
        set blocks within chunk at event-block where [block input is not bedrock] to air
oh boy thats gonna be laggy
 
i tested it, its not really laggy, only takes a few seconds. if you have a better idea id love to hear it
a few seconds of lag that any player can trigger at will? yeah, that sounds bad. the best solution would be using fawe's api
 
a few seconds of lag that any player can trigger at will? yeah, that sounds bad. the best solution would be using fawe's api
yeah fawe would be best but this way isnt really as bad as you make it sound

giphy.gif

i would be more concerned about people wrecking the entire map than a little lag :emoji_stuck_out_tongue:
 
idk if this would help but u could loop all blocks in the chunk and have a 25% chance of it to wait 0.5 ticks, that might help with some lag
 
Status
Not open for further replies.