Jump to content

Help wanted on a skript


Recommended Posts

20 hours ago, Stanleychar said:

Does anyone know how to make a skript that replace farm blocks 5 seconds later 

this should work

and btw the /stopgen command is so you can break the farming things

 

on break:
    if event-block is ripe wheat plant:
        if {stopgen::*} does not contain player's uuid:
            cancel event
            set block at location of event-block to air
            wait 5 seconds
            set block at location of event-block to ripe wheat plant
command /stopgen:
    aliases: /sg
    permission: op
    trigger:
        if {stopgen::*} does not contain player's uuid:
            add player's uuid to {stopgen::*}
            send "you can break gens now"
        else:
            remove player's uuid from {stopgen::*}
            send "you cant break gens now"

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...