Solved Potion pickup

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

MyNameIsBond

New Member
Sep 19, 2018
9
0
0
19
How can I do it to get the player who gets the pot stacked?

#google translator

code_language.skript:
on left click on chest:
    play "ZOMBIE_WOODBREAK" to player at volume 100
    
    set clicked block to air
    
    add 2 Splash potion of healing 2 to {_nyerik::*}
    add 3 Splash potion of healing 2 to {_nyerik::*}
    add 4 Splash potion of healing 2 to {_nyerik::*}
    add 5 Splash potion of healing 2 to {_nyerik::*}

    set {_nyeri1} to random element of {_nyerik::*}
    set {_nyeri2} to random element of {_nyerik::*}

    wait 0.3 seconds
    
    drop {_nyeri1} at clicked block
    drop {_nyeri2} at clicked block
    clear {_nyerik}
 
How can I do it to get the player who gets the pot stacked?

#google translator

code_language.skript:
on left click on chest:
    play "ZOMBIE_WOODBREAK" to player at volume 100
   
    set clicked block to air
   
    add 2 Splash potion of healing 2 to {_nyerik::*}
    add 3 Splash potion of healing 2 to {_nyerik::*}
    add 4 Splash potion of healing 2 to {_nyerik::*}
    add 5 Splash potion of healing 2 to {_nyerik::*}

    set {_nyeri1} to random element of {_nyerik::*}
    set {_nyeri2} to random element of {_nyerik::*}

    wait 0.3 seconds
   
    drop {_nyeri1} at clicked block
    drop {_nyeri2} at clicked block
    clear {_nyerik}
látom magyar vagy. jelölj dc-n Scholler#6167
 
Status
Not open for further replies.