Help, No power when turn key

Ok so this just started, you get in and turn the key nothing happens, no radio nothing like the battery is dead, but you run a hot wire from battery to coil and jump through the starter relay and it fires right up and all power is back, unhook the oil jump wire and drive away...get somewhere else and turn key off... Loses all power again..my only thought was maybe key switch but it has to be in for car to run and when you turn key off it Shuts off like normal, I'm horrible at explaining things and I hope someone knows what I am talking about or at least has ideas haha any help is appreciated.