The enchanted permanent keeps its abilities but has no power or toughness. If one of its abilities refers to them, it uses 0.

Artwork
Loading artwork…
One with the Stars
Theros Beyond Death · #59 · EN
Nonfoil—Foil—
Card rules
Enchant creature or enchantment
Enchanted permanent is an enchantment and loses all other card types. (It still has its abilities, but it's no longer a creature.)
"Take your place among the stars." —Kruphix, god of horizons
Uncommon · Illustrated by Caio Monteiro
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
One with the Stars may enchant a permanent that is only temporarily a creature, such as a Vehicle. If this happens, One with the Stars’s effect causes the enchanted permanent to remain an enchantment even after the temporary effect expires.
The enchanted permanent loses any subtypes associated with the card types it lost. It keeps any supertypes, such as legendary.
If One with the Stars enchants an enchantment that has no other card types, the enchanted permanent won’t be affected.