Can you try not to move your legs all over the place like that?
ーStop swinging your legs like that!
「そんな風に足をぶらぶらするのをやめなさい!」
swing one's legs で「足をぶらぶら揺らす」
ーCan you try not to move your legs all over the place like that?
「そんな風に足をあちこち動かさないで!」
move one's legs で「足を動かす」
all over the place で「あちこち・方々」
ご参考まで!