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.

Crafting System

Discussion in 'Skript' started by Dan_k, Jun 5, 2019.

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

    Dan_k Active Member

    Joined:
    Apr 25, 2019
    Messages:
    28
    Likes Received:
    0
    I want to make that If I will throw 2 diamonds and i stick on crafting table diamonds and stick will disapear and give the player diamond sword.
    How should I do it?
     
  2. T

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,287
    Likes Received:
    73
    Medals:
    You can use the on drop event, then you wait until the dropped item is on the ground, then you loop all items in a radius 1 around the dropped item. Add those items to a list. Also check if the block below the dropped item is a crafting table. Check if the list is the 2 diamonds and 1 stick, kill those dropped items and drop a diamond sword at the location.
     
Thread Status:
Not open for further replies.
Loading...