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

There's something really confusing about a line of code. Could anyone help?

This is the line of code that confuses me: local x = someFrame.BackgroundTransparency

Does this take the value of "someFrame.BackgroundTransparency" or does it make a reference to it?

3 comments

0

Takes its value , i've never succeeded in my lazy stuff like I'd like to do 'local abc = script.IntValue.Value'

0

like i'd like to do is 'abc = 123' . lmao

0

it makes a reference, what do you mean with taking the value

3 answers

✓ Accepted answer
local x = someFrame.BackgroundTransparency

Basically, this is a "directory."

Just like a phone book, it shows you the persons name (which could be x (the name of the directory in this case))

SomeFrame is the person's address, and BackgroundTransparency is their phone number.

Most likely, someone would do:

local x = .5

1 comment

0

Thank you for your response!

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