if Hit.Parent.Team.Value == TeamColor then
if Hit.Parent.Class.Value == "Unit" then
for i,v in pairs(Selected) do
if v == Hit.Parent then return end
end
table.insert(Selected,Hit.Parent)
end
Could somebody explain where return "returns" to in these statements? If v == Hit.Parentthen will still insert Hit.Parentinto Selected? Or does it "return" to the last end? Thanks!
