How do I make a script constantly check a bool value, and if its true/false it does something, without useing a while true do if bla bla.
1 | BoolValue:PropertyChangedSignal( "Value" ):Connect( function () |
2 | if BoolValue.Value = = true then |
3 | -- Do stuff here |
4 | end |
5 | end ) |