Jump to content

Nutin_rf

Member
  • Posts

    34
  • Joined

  • Last visited

Posts posted by Nutin_rf

  1. Wait nevermind! I got it fixed now. I learned that on mine only works if you have the right type of pickaxe, so I had to use the on break.

     

    Here is the new skript:

    on break:
        if event-block is iron ore:
            if player's world = "mine":
                set event-block to stone
                if player's held item is wooden pickaxe:
                    set event-block to iron ore
                    send "&b&nStone pickaxe or higher &f&nneeded to mine in this cave!" to player
                else:
                    cancel event
                    set event-block to stone
                    give player 1 iron ore
                    wait 25 seconds
                    set event-block to iron ore

     

    Can a mod close this thread?

  2. on mine of iron ore:
        if player's held item is wooden pickaxe:
            cancel event
            send "&b&nStone pickaxe or higher &f&nneeded to mine in this cave!"
        else:
            cancel event
            set event-block to stone
            give player 1 iron ore
            wait 7 seconds
            set event-block to iron ore

     

    These exact lines work just fine for coal ore and cobble stone. However, When I mine Iron ore with a wooden pickaxe, it just disappears, instead of doing nothing. The part where it gives me the Iron ore works fine, however.

    Edit: I tried restarting the server and that didn't work either.

  3. On 4/7/2021 at 4:15 PM, Patate_lechat said:

    what is captcha ?

     

    Please do not necropost (posting in a thread that's been inactive in a month) But captcha's are test that determine if you're human or a bot.

    Please close this thread.

  4. On 4/7/2021 at 4:12 PM, centralwtf said:

    make sure that some mv worlds are not bugged/glitched or You made something that coused lags

    Thanks, the lag is fixed now, but I didn't put anything down to lag the server, and they're all working fine.

  5. Hello, i've just created a server, which is getting around 6-10 TPS (ticks per second). This is very low! I have barely build or done anything on the server, so why is it lagging, and is there any way to improve it?

×
×
  • Create New...