Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't this event fire?

Asked by
OniiCh_n 410 Moderation Voter
10 years ago

Assume the roundStart() function works.

Whenever the roundStatus value is changed (roundStatus is a BoolValue) the following code won't fire. Am I doing something wrong?

roundStatus.Changed:connect(function()
    if roundStatus.Value == true then
        roundStart()
    end
end)

Answer this question