I'm created a local value. Its about true or false.
Just want let another script detect that is true or false.
Is this can be happened?
✓ ANSWER ACCEPTED
Can i get a script's local from another script?
1 answer
✓ Accepted answer
You could use physical values. You can insert an objectvalue or a numbervalue and many more into the workspace or anywhere really. Then you can do something like:
--NumberValue in workspace has a value of 4
value = game.Workspace.NumberValue.Value
--Prints 4
print(value)
If i have two scripts, I can change the value and the other script can recognize it.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Oooh! If i can. Can i make more value?
I goOOOot it!! thanks for help!
By the way, It BoolValue for true or false?
Sorry I went to sleep, but yes, boolValue is for true or false
infact there is even an object value which refers a path to an object. You can click the object you want and it will update the path for you. So, you could do value = game.workspace.objectvalue.value, instead of game.workspace.house.room1.tv.controls.buttons.part