Jump to content

Making needed scripts!


Smiley_Guy_

Recommended Posts

Hey can you help me whit a script. So the problem is that if im not op and i break the wood it sets to bedrock but it never sets back to wood even tho i set event block to {_block}

on break:
    if player's world is "simulator":
        if player isn't op:
            if event-block isn't oak wood or spruce wood or birch wood or dark oak wood:
                cancel event
                send "&cYou cant break this here"
            else:
                set {_block} to event-block
                set event-block to bedrock
                drop event-block at location of event-block
                wait 10 seconds
                set event-block to {_block}
                chance of 2%:
                    give player honeycomb named "&6&lCrystal Coin"
        else:
            set event-block to air

Link to comment
Share on other sites

@RoustyTousty duplicate post. Please try not to do this.

 

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

I need like a regen skript like this: But this didn't work.

On break:

  If block is cobblestone:

  Trigger:

     Replace block with bedrock

     Wait 40 seconds

     Replace block with cobblestone

Link to comment
Share on other sites

Hey please make me this skript Basically a skript where if you type /iedit while holding something /iedit sharpness 10 it will give it sharp 10 /ilore lol it will give it a lore lol please I really need it I am maxed on plugins and can`t download the plugin

Link to comment
Share on other sites

On 5/10/2021 at 2:33 AM, Skray said:

I need like a regen skript like this: But this didn't work.

On break:

  If block is cobblestone:

  Trigger:

     Replace block with bedrock

     Wait 40 seconds

     Replace block with cobblestone

Why would you use a trigger..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...