Solved Infinite water buckets

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

NotNinjaTalon

Member
Mar 2, 2020
12
1
1
Alright so first off I know this is a very odd request, but anyways I'm wanting a skript that makes it when on place of water bucket named "&bInfinite Water" it places the water as usual but refills the bucket right back up, pretty much replacing the player's tool. I know this is a pretty basic request but I've been struggling a little bit with it. I hope one of you could help me out. Thanks in advanced. :emoji_grin:
 
code_language.skript:
on right click:
    if player's held item is water bucket named "§9Endless Water":
        cancel event
        if clicked block is not air:
            if target block is not air:
                set block at location of clicked block to water
 
code_language.skript:
on right click:
    if player's held item is water bucket named "§9Endless Water":
        cancel event
        if clicked block is not air:
            if target block is not air:
                set block at location of clicked block to water

Thanks so much, appreciated!
 
Status
Not open for further replies.