when referencing a bool value do I do
game.workspace.bool = true
or
game.workspace.bool.value = true
I am a little bit confused with how these work
when referencing a bool value do I do
game.workspace.bool = true
or
game.workspace.bool.value = true
I am a little bit confused with how these work
Like a BoolValue instance? or a property that is a boolean?
If it’s a property that is a boolean then the first, but if it’s a BoolValue instance in the workspace then the second one.
Ah, ty. Yeah, BoolValue instance in the workspace I think. What do you mean w property of a boolean though?
For example, workspace has an Archivable property which is a boolean (true or false), so you’d do workspace.Archivable = true, not workspace.Archivable.Value = true
If it is a property of an object, than the value ref is not needed, if its a value parented to something, then you need value to ref it.