Invisibility to Undead (5e Spell)
From D&D Wiki
|Casting time:||1 bonus action|
|Components:||V, S, M (holy symbol)|
You touch a creature and they become invisible to undead.
Roll 5d8; the total is how many hit points of creatures this spell can effect. Undead within 20 feet of the target are affected in ascending order of their current hit points (ignoring unconscious creatures).
Starting with the undead that has the lowest current head points, each creature affected by this spell treats the touched creature as being invisible for the duration.
Subtract each undead creature's hit points from the total before moving on to the creature with the next lowest hit points. A creature's hit points must be equal to or less than the remaining total for that creature to be affected.
At Higher Levels. When you cast this spell using a spell slot of 2nd level or higher, roll an additional 2d8 for each slot level above 1st.