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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Infinite water buckets

Discussion in 'Skript' started by NotNinjaTalon, Apr 18, 2020.

Thread Status:
Not open for further replies.
  1. NotNinjaTalon

    NotNinjaTalon Member

    Joined:
    Mar 2, 2020
    Messages:
    12
    Likes Received:
    0
    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:
     
  2. Best Answer:
    Post #2 by novastosha, Apr 18, 2020
  3. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    344
    Likes Received:
    22
    Code (Skript):
    1. on right click:
    2.     if player's held item is water bucket named "§9Endless Water":
    3.         cancel event
    4.         if clicked block is not air:
    5.             if target block is not air:
    6.                 set block at location of clicked block to water
    7.  
     
    • Winner Winner x 1
  4. NotNinjaTalon

    NotNinjaTalon Member

    Joined:
    Mar 2, 2020
    Messages:
    12
    Likes Received:
    0
    Thanks so much, appreciated!
     
  5. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    344
    Likes Received:
    22
    Mark me as best answer please :emoji_slight_smile:
     
    • Agree Agree x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...