Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help With Script problems?

Asked by 8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

I'm not sure how to use values in a line. This line checks if there is a model named a value that i put in a string value. This is only a part of a script.

if game.Workspace:FindFirstChild(game.Workspace.GameInfo.Boss.Value) then

1 answer

Log in to vote
0
Answered by
peely09 15
8 years ago

That should work just fine :) If it finds an object within the Workspace with a name that corresponds to the value of the StringValue object, then the script will continue. Tried and tested just a few moments ago.

http://prntscr.com/907r4a

Ad

Answer this question