PROGRAMMED ILLUSION

Illusion level 6

STANDARD

Casting Time 1 action
Range 120 feet
Components V, S, M
Duration Until dispelled

You create an illusion of an object, a creature, or some other visible phenomenon within range that activates when a specific condition occurs. The illusion is imperceptible until then. It must be no larger than a 30-foot cube, and you decide when you cast the spell how the illusion behaves and what sounds it makes. This scripted performance can last up to 5 minutes.
When the condition you specify occurs, the illusion springs into existence and performs in the manner you described. Once the illusion finishes performing, it disappears and remains dormant for 10 minutes. After this time, the illusion can be activated again.
The triggering condition can be as general or as detailed as you like, though it must be based on visual or audible conditions that occur within 30 feet of the area. For example, you could create an illusion of yourself to appear and warn off others who attempt to open a trapped door, or you could set the illusion to trigger only when a creature says the correct word or phrase.
Physical interaction with the image reveals it to be an illusion, because things can pass through it. A creature that uses its action to examine the image can determine that it is an illusion with a successful Intelligence (Investigation) check against your spell save DC. If a creature discerns the illusion for what it is, the creature can see through the image, and any noise it makes sounds hollow to the creature.
Components. A bit of fleece and jade dust worth at least 25 gp.

Spell Variants & Exotic Components – level 6
Add-on for D&D 5e.
Enhanced spell effects with exotic spell material components.
The layout is made with TheHomebrewery CSS code.
Just have a look at the preview!

SPELL VARIANT #1

Casting Time 1 action
Range 120 feet
Components V, S, M
Duration Until dispelled

This spell variant works as the standard version. However, by using the components, the spellcaster imbue the programmed illusion with a portion of his knowledge, thus making it able to interact with its viewers. You pick one field of knowledge among Arcana, History, Medicine, Nature and Religion. The programmed illusion possesses the same rank of knowledge of the spellcaster in the assigned field the moment the spell is cast.
At Higher Level. When you cast this spell using a 7th level spell slot, you choose two fields of knowledge. When you use an 8th level spell slot, you choose three fields of knowledge. When you use a 9th level spell slot, you choose four fields of knowledge
Components. Jade worth 500 gp, Major Image (spell), Deck of Illusions (the spell consumes one card).