Im making a script manager for myself (i know that there already exists one).
I keep getting the error "autorun.lua:68: attempt to index global 'cb1' (a nil value)" even though ive already defined it.
The line is cb1:text(" "), so the problem might be that im using ":text" but on the wiki it states that checkboxes have that function.
Thanks this worked :) i just made it so it runs another function which sets top_stack to 1 and then run refresh
curry:
function curry(f, a)
return function()
return f(a)
end
end
rBtn:action(curry(refresh, 1))