It was Serbian rebels who assasinated Franz Ferdinand. Then, Austria Hungary declared war on Serbia, Russia declared war on Austria Hungary, then Britan, France, and Germany dclared war on the other people. So yes, it was Serbia's fault
Well, the Serbian government gave the rebels weapons, because it was rebels who wanted a reunited Serbia as Austria Hungary divided Serbia and they wanted it to be back together so the Serbian government funded them