Source: Dungeon Master's Guide

Scroll, rare

Each scroll of protection works against a specific type of creature chosen by the DM or determined randomly by rolling on the following table.

d100 Creature Type
01-10 Aberrations
11-20 Beasts
21-30 Celestials
31-40 Elementals
41-50 Fey
51-60 Fiends
61-70 Plants
81-00 Undead

Using an action to read the scroll encloses you in a invisible barrier that extends from you to form a 5-foot-radius, 10-foot-high cylinder. For 5 minutes, this barrier prevents creatures of the specified type from entering or affecting anything within the cylinder.

The cylinder moves with you and remains centered on you. However, if you move in such a way that a creature of the specified type would be inside the cylinder, the effect ends.

A creature can attempt to overcome the barrier by using an action to make a DC 15 Charisma check. On a success, the creature ceases to be affected by the barrier.