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

How to refer to Configuration.StringValue

I'm trying to make a P4ssword door using Configuration object. Here's the brick and it's children: Door.Configuration.Word ("Word" is a StringValue) ...and... Door.Script

How do I have this line: if (msg == "message") then ...refer to the StringValue inside Configuration?

2 answers

You can access the StringValue object's Value property like any other property. It is a string.

6 comments

0

I tried (msg = script.Parent.Configuration.Word.Value) but it won't work.

0

That's how you would do it, so you might have a problem somewhere else.

0

(msg = "message") DOES work fine, so I don't know what the problem is. Should I post the full script?

0

Are you sure there are no errors in the output?

0

I don't know, the new studio updates make my studio crash when I press Play. Gtg.

0

Look into installing the REMS into your game, so you can see errors in online mode. http://www.roblox.com/Remote-Error-Monitoring-System-item?id=65774258

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