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 our 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 Drop an item in front of the player

Discussion in 'Skript' started by PantherBoy, Jul 29, 2017.

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

    PantherBoy Well-Known Member

    Joined:
    Jul 20, 2017
    Messages:
    72
    Likes Received:
    0
    How can I do if a player clicks with an item, an another item drops/spawn in front of the player?
    I tried this:
    Code (Skript):
    1. on rightclick:
    2.     player is holding vines named "Varázsgyökér":
    3.         player is sneaking:
    4.             drop a diamondsword in front of the player's head
    --- Double Post Merged, Jul 29, 2017, Original Post Date: Jul 29, 2017 ---
    The distance from the player head is for example 2-3 block pls :emoji_grinning:
     
  2. Best Answer:
    Post #2 by ShaneBee, Jul 29, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    drop diamond sword 2 meters above and 2 meters horizontally in front of the player
     
    • Winner Winner x 1
Thread Status:
Not open for further replies.
Loading...