Ive Been Trying To Find a Way To Put A "Playable" Version of Hpz in to my rom hack or put in a whole new level cany anyone find a way to fix all of this mess
To restore HPZ, you will need the original level data files (tiles, blocks, chunks, palettes (already in the final S2), layout, object and ring placement), and the code for the objects used and their art and mappings. You can use LevelConverter to convert the level data and then you can include it in the disassembly, and then supply pointers to the data in the appropriate spots (there's an array for art, blocks, and chunks, and there's also arrays for level layout, rings, and object placement, and arrays for palettes and animated art).
I'm not going to stop you from doing anything, but I will say this: Hidden Palace Zone in Sonic 2 hacks is a very old and worn out concept. You're going to have to introduce something to make it truly unique and stand out.
I made a guide a while ago that could help. It's not super specific, but if you follow everything it says, and use all the HPZ data from the betas, you should be fine. You should keep in mind what TheStoneBanana said, though; people are relatively tired of HPZ in it's unmodified state, and the level is not easy to modify (the chunks have to match up to each other just right to look any good).