Jump to content

mining drill


BOXEY
 Share

Recommended Posts

hi is it possible to make it go down one block each time it give the player the block

every 5 real seconds in world "world":
    loop all players:
        if {Drillona::%loop-player%} is not set:
            set {Block} to block under location of {Drill::%loop-player%}
            add {Block} to loop-player
            stop

on click on beehive:
    if {Drillona::%player%} is not set:
        open virtual chest inventory with size 3 named "&cDrill GUI" to player
        format gui slot 14 of player with red wool named "&c&lCollect Drill" to run:
            set block at location of {Drill::%player%} to air
            set {Drillona::%player%} to false
            send action bar "&c&lYou Have Mined A Drill" to player
            add beehive of unbreaking 10 named "&b&lDrill" to player
        format gui slot 12 of player with green wool named "&a&lUpgrade Drill"

        format gui slot 13 of player with orange wool named "&a&lStop Drill" to run:
            set {Drillona::%player%} to false
            send action bar "&6&lYou Have Stopped The Drill" to player
    else:
        open virtual chest inventory with size 3 named "&cDrill GUI" to player
        format gui slot 14 of player with red wool named "&c&lCollect Drill" to run:
            set block at location of {Drill::%player%} to air
            set {Drillona::%player%} to false
            send action bar "&c&lYou Have Mined A Drill" to player
            add beehive of unbreaking 10 named "&b&lDrill" to player
        format gui slot 12 of player with green wool named "&a&lStart Drill" to run:
            delete {Drillona::%player%}
            send action bar "&a&lYou Have Started The Drill" to player

on place of beehive:
    set {Drill::%player%} to location of event-block
    set {Drillona::%player%} to false
    set {Block::%player%} to location of event-block
    send action bar "&a&lA Drill Has Been Placed" to player

on break of beehive:
    cancel event

 

Link to comment
Share on other sites

Contact my discord KJPAKA#0001. When i have time i will reskript it for you.

 

Active Minehut Player since 2016

Advanced at Skript - Know a lot about running a server 

If you need help with anything contact me @ KJPAKA#0001

 

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
 Share



×
×
  • Create New...