Rex USA 1 / 7

Charlie Sheen has slammed America's Department of Child and Family Services in a rant on Twitter.

RELATED: Epic Celebrity Rants

The former "Two and a Half Men" star labelled bosses of the government department inept in their handling of his two children with ex-wife Brooke Mueller.

RELATED: The Best Pop Culture Acts of Revenge

It has emerged Mueller could regain custody of their sons Bob and Max after completing a drug rehabilitation program, and Sheen is furious at the prospect.

RELATED: Stars with sex addiction

In a message posted on the microblogging website on Friday, in reference to the previous night's Halloween celebrations, he writes, "Last night was awesoem! I went as an officer from DCFS (child protection srvc) because that's about as sane as these inept [expletive] bags seem when dealing with my sons bob and max.

"It's an abhorrent [expletive] dance that has NOTHING to do (with) protecting any child. Instead they are swayed by the evil and pathetic uber loser [expletive] that calls herself Brooke. There will be a reckoning. There will be a whirlwind, that they will all reap while desperate begging for my forgiveness. You've all been warned."

Sheen and socialite Mueller split in 2010 after two years of marriage, but Mueller lost custody of their children in May after overdosing on crystal methamphetamine.

She was put on an involuntary psychiatric hold and the boys were placed with Sheen's ex-wife Denise Richards, but Mueller is now seeking full custody.