Hey, I am creating multiple module script for my admin panel, and everything works but this one thing and I can’t figure out what it is. I’ve tried multiple re-works on this code and I just can’t get it so I came here.
Here is the code where it errors out.
And thing would help
nil means nothing or emptyness.
This means Your script doesn’t find Button make sure you stored the button or your script is running before button get spawned.
Can you post a code block instead of a screenshot? It’s easier to read. I digress
Instead of using .s to assign a variable, use WaitForChild(). It’s much more efficient.
.
WaitForChild()