Slider Controlled Rotation

I'm having a parent/child issue with rotation (mostly due to lack of inexperience :) ).

I currently have this line of code: roller.transform.eulerAngles.x=sliderVal;

Roller has a child object, but the object doesn't seem to be affected by the rotation. If I modify the rotational values in the editor however, the child follows along. Am I missing something with world vs local rotation?

Can you post a bit more code specifically to do with the child object? Additionally, do you want the roller to rotate by itself or be player defined?