Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I'm having issues with what someFrame and someButton, etc is?

? Like what does it mean, lots of people are replying with it. I thought it used to be :

local button = Instance.new("TextButton")

Not

local button = someButton

OR

local frame = someFrame

Please explain this to me, thank you!

1 answer

✓ Accepted answer

This is a just a vague reference people use assuming you know how to assign a GUI's instance to the variable. No one will know where your objects are located in studio, so just saying someFrame makes it easy on them when providing others with an answer based on their code.

Although on your end, you would replace this with the instance of your GUI element. So if you had a TextButton in a frame and the script in the same frame, you would assign your variable the object's location like so:

local button = script.Parent.TextButton

1 comment

0

thx :)

This discussion is preserved as it was. New answers, comments, and votes are closed.