Jump to content

/spawn / curse of vanishing skript needed


NoPulp

Recommended Posts

5 hours ago, NoPulp said:

can u make a skript where if a player uses /spawn, any item on them with curse of vanishing dissapears

Here you go! (untested)

on command "/spawn":
	loop all items in player's inventory:
		if loop-item is enchanted with curse of vanishing:
			remove loop-item from player's inventory

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...