Switching Held Item

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

Evan Xuro

Member
Sep 14, 2021
3
0
1
16
Alright, so basically I'm trying to make a lightsaber tool that will only stay active if you have enough diamonds in your inventory. Otherwise, the sword will deactivate and turn into a soul torch. I'm wondering if it is possible to keep the lore of the item but switch the item to a soul torch. (The item has more than 1 line of lore)
 
It is indeed possible, you can just set a variable to the lore then viceverse on the other tool or even easier,

set player's tool to (new item) with lore (lore of player's tool)
 
It saves the lore as "[ Star Wars ], Lightsaber and ", so when I add it to an item it's only one line. How do I make it keep all the lines?
 
Status
Not open for further replies.