Solved Drop an item in front of the player

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

PantherBoy

Active Member
Jul 20, 2017
74
0
6
24
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_language.skript:
on rightclick:
    player is holding vines named "Varázsgyökér":
        player is sneaking:
            drop a diamondsword in front of the player's head
[doublepost=1501363572,1501362891][/doublepost]The distance from the player head is for example 2-3 block pls :emoji_grinning:
 
drop diamond sword 2 meters above and 2 meters horizontally in front of the player
 
Status
Not open for further replies.