Hollywood stars and Wrexham AFC co-owners Ryan Reynolds and Rob McElhenney have donated £5,000 to the city hospital's children's ward.
Members of Wrexham Police FC and FC United of Wrexham will be going head to head on Saturday, 1 July, in a charity football match.
Funds raised will go to support Wrexham Maelor Hospital's children's ward which looks after young people from birth to 18 years old.
Reynolds and McElhenney became owners of Wrexham AFC in 2021 and recently oversaw the club's return to the English Football League for the first time in 15 years.
They celebrated with a bus parade around Wrexham before the players joined Rob McElhenney and his wife on a visit to Las Vegas.
Patients from across Wrexham and Flintshire use the children's ward's services, as well as from parts of Shropshire, Powys and Gwynedd.
Wrexham Police FC thanked the duo for their "generous" donation ahead of the match.
"It'll make a positive difference to the lives of many children from across the area, diolch (thank you)," they added.
FC United of Wrexham, an amateur football and futsal club, said: "They [McElhenney and Reynolds] have done it again."
"The Wrexham Maelor Children's Ward is so close to our hearts as they are amazing. We can't wait to play the match now," they added.
The initial fundraising target was £5,000 but the donation from the Wrexham AFC co-owners meant it was quickly reached and the teams have now increased the target to £10,000.
The game will take place at Bronwen's Green, Wrexham, on 1 July with kick-off at 10.30am.