As in title got a wheel nut that doesnt want to come off

First tried the rattle gun (one nut came off)
Then tried my socket tool (not that but wtevers in the boot of the car)
with some spare exhaust piping for leverage (got other 2 nuts off)

With the fourth one sprayed wd40 and kept trying with the tool and ended up breaking the head of it off

The nut is the hex type

any help would be appreciated