Discord Thread Blast Enchant going wrong

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.

skUnity Discord

Site Manager
Aug 5, 2023
12,755
1
0
The skUnity Discord
discord.gg
code_language.skript:
on mine:
    if lore of player's tool contains "&7Telepathy":
        if lore of player's tool contains "&7Blast 1":
            set {_BlastLvl} to 0
        if player's pitch is between -50 and 50:
            if player's facing is north or south:
                set {_1} to event-block's location
                set {_2} to event-block's location
                set {_block} to event-block
                add 1 to x-coord of {_1}
                remove 1 from x-coord of {_2}
                add 1 to y-coord of {_1}
                remove 1 from y-coord of {_2}
                if player's facing is south:
                    add {_BlastLvl} to z-coord of {_2}
                    loop blocks within {_1} to {_2}:
                        if "%region at loop-block%" contains "oakmine":
                            set block at loop-block to air
                        give player 1 of {_block}
this is somehow setting 9 blocks to air but only gives me 4 oak logs

Posted by: X_Emma_X from the skUnity Discord. View the thread on skUnity Discord here
 
Status
Not open for further replies.