I wanted to make a scroll bar. i did it when using the press function but i want it to keep scrolling when someone holds the key down. how would i go about this?

i though

do{textbox.scroll-=1;}while(on(press))

but that doesnt work