function endRound()
for _,v in pairs(game.Players:GetChildren()) do -- for everything in players
if v.Character ~= nil then -- if ther person is existing
v.Character:BreakJoints -- kills
end --this is the end that is underlined in red
end -- ends function
game.Workspace.Model:Remove()
end
This is the code, the error I'm getting is that function arguments expected near end

2 comments
you forgot to write () after :BreakJoints
Oh my god, I feel like an idiot now, thank you!