LocalScript gone Nuts

Alright I am really getting ticked, is it me or the script because I’m pretty sure its not me…

I try to call the Frame thats in the button’s Parent and it says:
[url]http://prntscr.com/2d0dq8[/url]

Like for reals bro (Here is the script AND the Guis):

[url]http://prntscr.com/2d0eg2[/url]

Please help ASAP

Bagdes
I wonder what the problem is.

“gui.Badges”
“frame > gui > bagdes”
sigh

Sorry that is an outdated version of the image, but when I try to edit it, it gives me the upvalue error.

Make both btn and option global, not local.

Thanks, I fixed this now, I just changed out the functions and made it easier to use now.