I need help with crafting

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

Max1234321

Member
May 17, 2020
1
0
0
25
Hello everyone!

I need help with the crafting event (on craft).

If the player creates an item, he must get a random item:

on craft:
cancel event
give (random item out of all items) to player

But when I cancel the event, the item will stay in the crafting table.
And when I don't cancel the event, the player is getting the random item
and the item he crafts.


Sorry for my bead english, I'm from Germany :emoji_frowning:
 
on craft:
wait 1 tick
remove all event-item from player
give player 1 of random items out of all items

I think you can use this..
I tried and its worked. Thank you :emoji_slight_smile:
 
Status
Not open for further replies.