Why does the second "if" play if the Finished.Value is already true?
while true do wait()
if script.Parent.Finished.Value == true and script.Finished.Value == false and game.Workspace.Finished.First.Took.Value == false then
script.Parent.Results.Visible = true
script.Finished.Value = true
game.Workspace.Finished.First.Took.Value = true
game.Workspace.Finished.First.Value = "1 - "..game.Players.LocalPlayer.Name
wait(1)
if script.Parent.Finished.Value == true and script.Finished.Value == false and game.Workspace.Finished.Second.Took.Value == false then
script.Parent.Results.Visible = true
script.Finished.Value = true
game.Workspace.Finished.Second.Took.Value = true
game.Workspace.Finished.Second.Value = "2 - "..game.Players.LocalPlayer.Name
end
end end

1 comment
I'm trying to keep that 2nd statement from running if script.Finished.Value == true