If I used for
for i,v in pairs(game.Players:GetPlayers()) do if v.findFirstChild("Character") then v.Character:Destroy() end end
I'm not actually using that line, but would that work? What's really happening is I have a round script that breaks a lot, so I need to add some if statements to check if the stuff is actually there, or it will break, for example if someone resets during the round, or leaves. Would if v.findFirstChild("Character") then work??
Since Character is a property and not an object in Player, it will always be accessible, so not only do you not have to use FindFirstChild but you can't. If you did it would refer to the first child named "Character" if there were one, and not the property.
for _,v in pairs(game.Players:GetPlayers())do if v.Character then v.Character:Destroy() v.Character=nil end end
You may also want to set the Character property to nil so it doesn't still have a reference to a locked object.