Change the distance player's can apply sprays to walls, change how fast you can spray, and apply player sprays to surfaces while dead. I'm mainly just experimenting with some smaller things and luckily I got this to work pretty quickly. Luckily, forcing player sprays onto surfaces wont emit sounds automatically, so I made the spray-can sound only emit if the player is alive. Yes, you can spray while spectating.