I'm trying to delay action in a script until an event fires.
This is what I have
local Capturing = script.Parent.Capturing
Capturing.Changed:connect(function(property)
if property == false then
end
end)
Capturing is a BoolValue, part of the same model as the script btw. When ran, it completely skips over the event handler
Would I have to repeat wait() until the property == false, or can I use this in some way?

2 comments
If you're waiting until the event is fired before doing some code, why not just put that code INSIDE the event?
Because its not as simple as that. I need to halt a function from ending.