This script is supposed to reset a boolean and two strings after three seconds. However, the script isn't working, and I have no idea why.
Output gave me nothing.
Can someone please help me? Here's the script:
while wait(0.1) do if script.Parent.Captured.Value == true then wait(3) script.Parent.Captured.Value = false script.Parent.Flag.Value = " " script.Parent.Team.Value = " " end end
script.Parent.Captured.Changed:connect(function() if script.Parent.Captured.Value == true then Wait(3) script.Parent.Flag.Value = " " script.Parent.Team.Value = " " end end)