Rotate my controlers with spliner

hello all . i am a New to the script world and
i just want to control the y axis rotation in local with my spliner but all my attempt failed

here is my code

controlers_closed_attribute = attributes Custom_Attributes

rollout OPEN_CLOSE_HAND "OPEN/CLOSE LEFT HAND"
(
slider ui_HAND_CLOSE "HAND == > CLOSE" width:180 height:30 range:[0,100,0]

in coordsys local
(
rotate $SAF_C_FINGER_R_11 (angleaxis 90 [0,1,0]) = val
)
)

CustAttributes.add $.modifiers[1] Controlers_closed_attribute