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.

please tell me how to drop items to specific coordinates to get new items

Discussion in 'Skript' started by KiminonahaLove, Aug 11, 2018.

Tags:
Thread Status:
Not open for further replies.
  1. KiminonahaLove

    Joined:
    Aug 11, 2018
    Messages:
    2
    Likes Received:
    0
    please help me, I appreciate it if you write in detail
     
  2. jaylawl

    jaylawl Well-Known Member

    Joined:
    Jan 29, 2017
    Messages:
    173
    Likes Received:
    31
    Code (Skript):
    1. set {_item} to diamond sword named "cool"
    2. drop 1 of {_item} at player's location
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    If you are wanting to drop an item at the player, use what jaylawl sent.
    If you are wanting to drop an item at a specific coordinate, skript has a build in function for location, use like this:
    Code (Skript):
    1. drop 1 stone at location(283,65,201, world "world") without velocity
    Obviously change the coords and world to suit your needs. You can leave world out if you so choose, it will default to the world of the player. Also you dont need the "without velocity" part... i just put that in there so the item doesn't try fly away to somewhere else
     
Thread Status:
Not open for further replies.
Loading...