Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Debounce for multiple scripts?

Is it possible to make a debounce for multiple scripts? Or must I combine the scripts to make it work? If it is possible, please tell why. Thanks.

1 comment

0

By 'why' I mean how.

1 answer

✓ Accepted answer

Using a BoolValue, yes. You connect two scripts to a single BoolValue and you set the value to true when you don't want any script to run and back to false to allow running.

2 comments

0

Personally I use and prefer global variables.

0

Yes. _G bool values also work.

This discussion is preserved as it was. New answers, comments, and votes are closed.