-
What do you want to achieve? I am trying to make a debounce that I can trigger from multiple scripts(2 local scripts)
-
What is the issue? I can’t set debounce value because I’m using local scripts so it won’t change the actual value, and I also can’t move everything into one script because that’s not point of it.
-
What solutions have you tried so far? I tried making a boolean object but I can’t change its value using a local script.
To understand better how to help you, you should let us know what are you trying to accomplish or what do you want to use this debounce for.
Maybe put the BoolValue inside of the player or the character, so you can find it easily.
If you want to update it with LocalScripts and actually apply the changes on the server then you can use RemoteEvents, however that’ll be very easy to exploit so I don’t recommend using this method.
I’d just do everything on the server instead, then let the clients know if there’s the debounce or not by checking the value of the BoolValue.
There are instances called RemoteEvent and RemoteFunction for sending data between client and server to get around this.
FYI: FilteringEnabled is forced in all games and has been for a few years now; the property in Workspace has no effect.