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

Can I use boolValues across scripts, and if so, how?

Asked by 2 years ago

I want to use boolValues across different scripts. For example, if I make the value true in one script, it will also be true in a different script.

I have tried printing the value when I make it true on a different script to see whether it has changed, but it doesn’t change.

I have no clue how to do this so any help is appreciated! Thanks! (also if there is a completely different way of doing this please let me know!)

0
Use ModuleScripts. Or store a BoolValue is ReplicatedStorage. SuperPuiu 497 — 2y
0
I have one in ReplicatedStorage, but it does not work. Is the Value property supposed to be ticked? SilentKiller5557 8 — 2y
0
Are you setting the value to true in a Client and then checking it up on the Server? NotThatFamouss 605 — 2y
0
It's alright actually, I figured it out. But thanks! SilentKiller5557 8 — 2y

Answer this question