You need to carefully think of a way to keep safely compressed a powerful spring like that. I had the same idea not so long ago, but it was all metal, not PVC. And my spring was smaller and compressed with a thread. I understand PVC is brittle, and a repetitive shock from a powerful spring could be very dangerous IMO.
Also, I quickly forgot about that idea, because a spring that is manageable in term of size and power would not be enough to be very impressive. I did some math computation with spring rates from McMasterCarr, and the result was bad. I think what I intended to do first would have just resulted in a glorified cork gun

That's also a lot of fun though!
I believe to have a decent power from a spring rifle (and I do own a Diana model 35 that is a fine rifle), you need to do metal construction, finely tuned, and you can't expect launching much more weight than half a gram (8 grain) which is a .177 pellet.
This is why I finally prefer PCP (precharged pneumatic, not angel dust for those who are still confused

!). And this of course also have its share of potential danger. But as other said, a spring is quite dangerous. I remember working with a small one for a project (2 inch long, 1/4" diameter), and after just a second of inattention it poked my eye and I would certainly look like a french pirate now (remember inspector Clouseau, with a parrot on his shoulder?) if I didn't had my workshop security glasses.
Of course I'm just a beginner here, but please follow advices from experienced people. Jackssmirkingrevenge, Ragnarok and others seem to know quite a lot on the matter. Even with my machinist experience background I would follow their advices, or at least very seriously consider them.
Have fun, and be safe.