Production was handled by Dr. Luke, Max Martin, Billboard, and Emily Wright .
Spears’ performance was praised for its "seductive" and "confident" tone, focused on "moving bodies" rather than deep lyrical complexity. II. Critical Reception and Performance Britney Spears - Till The World Ends
The track was co-written by Kesha , Max Martin, Dr. Luke, and Alexander Kronlund. Kesha described writing the song specifically for Spears, aiming to get listeners "on the dance floor". Production was handled by Dr