Delete entity not working

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

Kitty_cre

Member
Jul 12, 2023
3
0
1
on item merge of gold ingot:
cancel event
set {_var} to uncolored line 1 of the lore of event-item
replace all ")" with "" in {_var}
replace all "(" with "" in {_var}
set {_var} to ({_var} parsed as number)
add 1 to {_var}
drop 1 iron sword
# drop {gold::%{_var}%}
delete entity from event-item

or

uncancel event
kill event-item


how would i delete the items after they have merged
 
try clear event-item and see if that works. I don't even think you have to use event-item at all.