In 2-Player mode, it returns "true." This makes the code not useful for much of anything. However, the code isn't really necessary because you can simply use this:
Code: Select all
if (player2 ~= nil) then
...
endinstead of this:
Code: Select all
if (player2.isValid == true) then
...
end

