You roll d20 every time your turn ends during the duration of the spell. If the result is greater than or equal to 11, you disappear from the plane you are on and appear on the Ethereal Plane (if you are already on the Ethereal Plane, the spell fails and is consumed).

Blink 5e

Level: 3rd

Classes: Wizard, Sorcerer

Casting Time: 1 Action

Range: Self

Components: V, S

Duration: 1 minute

At the beginning of your turn and the end of the spell, if you are on the Ethereal Plane, you will choose an unoccupied and visible space within 10 feet of the place where you disappeared. If there is no unoccupied space in the range, you randomly appear in the nearest unoccupied space. You can dispel the spell with one action.

When you are on the etheric plane, you can hear and see the original plane, but only within 60 feet, and everything is black and white. Other creatures can affect or be influenced by you only when they are in the Ethereal Plane. Creatures that are not on the plane of the ether cannot detect you nor communicate with you unless they have the corresponding abilities.