need help

  • 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 community!

    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!

elyexee

Member
Jul 16, 2023
30
0
6
hey i wanted to know if somebody could help me do this skript for my lifesteal box server pls. so can somebody do me a skript that when a player right clicks with a ender chest named "&f&lVault +1" that takes off one ender chest if he has multiple ender chests and gives one playervault to the player pls
 
this should be in requests learn how to do it yourself. you literally just explained how to make the skript.
step 1: check if the player is right clicking
step 2: check if the item is the vault item (do not use names as the indentifier, please use nbts which requires skbee i learned from some of shanebee's very great articles on the skbee wiki https://github.com/ShaneBeee/SkBee/wiki)
step 3: remove the enderchest
step 4: give him a player vault (i have zero idea what you mean by player vault but below here is a way to make what i think you're talking about)

How to make a player vault

step 1: make a command that opens a gui
step 2: check if the player is putting something in the gui
step 3: if so save that item under a variable like {slot1::%player's uuid%}
step 4: check if the player removing something from the gui
step 5: if so set the var to nothing
step 6: the next time a player opens that gui set slot 1 of the gui to the item saved to the variable so the player can grab it whenever they want

u happy? this is basically spoonfeeding