totem

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

Aug 14, 2025
4
0
1
I need a little help making a stackable totem out of candles.

Main goals
- Totem resurrection pop up will show a candle instead of totem
- Have only items in offhand/main hand taken, rather than candles be taken from inside the inventory

So far I have this:

on damage of player:
if damage >= victim's health:
if victim has candle named "&3&lCandle":
cancel event
set victim's health to 1
remove 1 candle named "&3&lCandle" from victim
play resurrection by totem on the victim
apply regeneration 2 to victim for 45 seconds
apply absorption 2 to victim for 5 seconds
apply fire resistance to victim for 40 seconds
send "&3&candle &7saved your life!" to victim

Only thing I'd like to change is the totem becoming a candle in the resurrection by totem animation rather than a totem
I'm just not sure how to do this,
 
Last edited:
just use the vanilla command to switch the item model of the totem of undying with the candle texture. This way is easier, and works better.
 
my current code works relatively well, just the issue of it taking candles from the inventory and it not displaying a candle upon death