Since both are not real, so it is difficult to say whether a rancor could kill an Oompa Loompa or not.