The hex spell is copyright Wizards of the Coast. It can be found on page 251 of the Player's Handbook.